forked from CodeCrafter47/BungeeTabListPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
109 lines (90 loc) · 2.6 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
buildscript {
repositories {
jcenter()
gradlePluginPortal()
}
dependencies {
classpath 'ru.vyarus:gradle-quality-plugin:4.4.0'
}
}
ext {
spigotVersion = '1.11-R0.1-SNAPSHOT'
bungeeVersion = '1.20-R0.2-SNAPSHOT'
velocityVersion = '3.2.0-SNAPSHOT'
spongeVersion = '7.0.0'
dataApiVersion = '1.0.2-SNAPSHOT'
}
allprojects {
group = 'codecrafter47.bungeetablistplus'
version = '3.6.5-SNAPSHOT'
}
subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'ru.vyarus.quality'
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.papermc.io/repository/maven-public/'
}
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.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
testCompileOnly 'org.projectlombok:lombok:1.18.20'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.20'
compileOnly 'com.google.code.findbugs:jsr305:3.0.1'
}
compileJava {
sourceCompatibility = '11'
targetCompatibility = '11'
}
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'
}
quality {
strict = false
}
tasks.withType(Javadoc) {
failOnError false
}
}