forked from CodeCrafter47/BungeeTabListPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
86 lines (70 loc) · 2.15 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
ext {
spigotVersion = '1.11-R0.1-SNAPSHOT'
bungeeVersion = '1.15-SNAPSHOT'
spongeVersion = '5.0.0'
dataApiVersion = '1.0.2-SNAPSHOT'
}
allprojects {
group = 'codecrafter47.bungeetablistplus'
version = '3.4.4-SNAPSHOT'
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
repositories {
mavenCentral()
maven {
url = 'https://nexus.codecrafter47.dyndns.eu/content/repositories/public/'
}
maven {
url = 'https://repo.codemc.org/repository/maven-public'
}
maven {
url = 'https://repo.md-5.net/content/repositories/snapshots/'
}
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
maven {
url = 'https://papermc.io/repo/repository/maven-snapshots/'
}
maven {
url = 'https://repo.spongepowered.org/maven'
}
maven {
url = 'https://jitpack.io'
}
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
testCompileOnly 'org.projectlombok:lombok:1.18.12'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.12'
compileOnly 'com.google.code.findbugs:jsr305:3.0.1'
}
compileJava {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
}
publishing {
repositories {
maven {
if (project.version.endsWith("-SNAPSHOT")) {
url "https://nexus.codecrafter47.de/content/repositories/snapshots/"
} else {
url "https://nexus.codecrafter47.de/content/repositories/releases/"
}
credentials {
username "${project.properties.mavenUser}"
password "${project.properties.mavenPassword}"
}
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
}