-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (45 loc) · 1.16 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
plugins {
id 'java-library'
id 'maven-publish'
}
configurations {
doc {
transitive false
}
}
group 'ru.abstractmenus'
version '1.15.3'
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url 'https://oss.sonatype.org/content/repositories/central' }
}
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
api 'com.github.AbstractMenus:hocon:1.0.6'
doc 'com.github.AbstractMenus:hocon:1.0.6:sources'
compileOnly 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT'
}
javadoc {
title "AbstractMenus ${project.version} API"
source configurations.doc.collect { zipTree(it) }
include '**/*.java'
options.addStringOption('Xdoclint:none', '-quiet')
}
java {
withJavadocJar()
withSourcesJar()
}
test {
useJUnitPlatform()
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}