-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
235 lines (217 loc) · 8.51 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
plugins {
id 'java'
id 'maven'
id 'com.github.johnrengelman.shadow' version '5.0.0'
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation 'org.jetbrains:annotations:15.0'
}
ext.libs = [
'worldguard' : 'com.sk89q:worldguard:6.1.1-SNAPSHOT',
'worldedit' : 'com.sk89q:worldedit:6.0.0-SNAPSHOT',
'vault' : 'net.milkbowl.vault:VaultAPI:1.7',
'fastutil' : 'it.unimi.dsi:fastutil:8.2.3',
// mvn install:install-file -Dfile=Ace-Outposts_UUID.jar -DgroupId=com.aceoutposts -DartifactId=factionsuuid -Dversion=1.0 -Dpackaging=jar
'aceoutposts' : 'com.aceoutposts:factionsuuid:1.0',
// mvn install:install-file -Dfile=CoreProtect_2.12.0.jar -DgroupId=com.coreprotect -DartifactId=coreprotect -Dversion=2.12.0 -Dpackaging=jar
'coreprotect' : 'com.coreprotect:coreprotect:2.12.0',
// mvn install:install-file -Dfile=mcMMO-1.5.08.jar -DgroupId=com.mcmmo -DartifactId=mcmmo -Dversion=1.5.08 -Dpackaging=jar
'mcmmo' : 'com.mcmmo:mcmmo:1.5.08',
// mvn install:install-file -Dfile=ShopGUIPlus-1.19.1-SNAPSHOT.jar -DgroupId=com.shopguiplus -DartifactId=shopguiplus -Dversion=1.19.1 -Dpackaging=jar
'shopguiplus' : 'com.shopguiplus:shopguiplus:1.21.0',
'fanciful' : 'mkremins:fanciful:0.4.0-SNAPSHOT',
'mvdw' : 'be.maximvdw:MVdWPlaceholderAPI:2.5.2-SNAPSHOT',
'combattagplus' : 'net.minelink:CombatTagPlus:1.3.2-SNAPSHOT',
'essentials' : 'net.ess3:EssentialsX:2.16.1',
'clipplaceholderapi': 'me.clip:placeholderapi:2.9.2',
'askyblock' : 'com.wasteofplastic:askyblock:3.0.8.2',
'fabledskyblock' : 'com.goodandevil.skyblock:FabledSkyBlock:Build-78.5',
'epicspawners' : 'com.songoda:epicspawners:1.0',
'bstats' : 'org.bstats:bstats-bukkit:1.5',
'combatlogx' : 'com.SirBlobman.combatlogx:CombatLogX-API:9.0.0.0'
]
allprojects {
apply plugin: 'java'
apply plugin: 'maven'
compileJava.options.encoding = 'UTF-8'
repositories {
mavenCentral()
mavenLocal()
jcenter()
maven {
url 'https://ci.ender.zone/plugin/repository/everything/'
}
maven {
url 'http://dl.bintray.com/tastybento/maven-repo'
}
}
group = 'com.gameservergroup'
sourceCompatibility = 1.8
}
project(":gsgcore") {
apply plugin: 'com.github.johnrengelman.shadow'
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
dependencies {
compile 'me.lucko:sql-streams:1.0.0'
compile 'org.jetbrains:annotations:16.0.2'
compile 'it.unimi.dsi:fastutil:8.2.3'
compile 'it.unimi.dsi:dsiutils:2.5.4'
compile group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.5.3'
compile(group: 'com.zaxxer', name: 'HikariCP', version: '3.4.2') {
exclude group: 'org.slf4j', module: 'slf4j-api'
}
implementation libs.worldguard
implementation libs.vault
implementation(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi', module: 'fastutil'
}
}
shadowJar {
version = null
classifier = null
dependencies {
//noinspection GroovyAssignabilityCheck
include(dependency('it.unimi.dsi:fastutil:8.2.3'))
include(dependency('it.unimi.dsi:dsiutils:2.5.4'))
include(dependency(group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.5.3'))
include(dependency(group: 'com.zaxxer', name: 'HikariCP', version: '3.4.2'))
//noinspection GroovyAssignabilityCheck
exclude(dependency('net.techcable.tacospigot:server:1.8.8-R0.2-SNAPSHOT'))
}
relocate 'com.zaxxer', 'com.gameservergroup.gsgcore.relocations.com.zaxxer'
relocate 'org.mariadb.jdbc', 'com.gameservergroup.gsgcore.relocations.org.mariadb.jdbc'
relocate 'it.unimi.dsi', 'com.gameservergroup.gsgcore.relocations'
relocate 'org.bstats', 'com.gameservergroup.gsgcore.relocations.org.bstats'
}
artifacts {
archives shadowJar
}
}
project(':gsgbots') {
dependencies {
compile(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi'
}
implementation project(path: ':gsgcore', configuration: 'shadow')
implementation project(path: ':factions')
implementation libs.vault
}
}
project(':gsgcollectors') {
dependencies {
compile(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi'
}
implementation project(path: ':gsgcore', configuration: 'shadow')
//implementation project(path: ':factions')
implementation libs.vault
implementation libs.shopguiplus
implementation libs.aceoutposts
implementation libs.mcmmo
implementation libs.askyblock
implementation libs.fabledskyblock
implementation libs.epicspawners
implementation 'com.auqkwatech:AuqkwaFactions:1.0'
}
}
project(':gsgprinter') {
dependencies {
compile(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi'
}
implementation project(path: ':gsgcore', configuration: 'shadow')
implementation project(path: ':factions')
implementation libs.vault
implementation libs.shopguiplus
implementation libs.essentials
implementation libs.combattagplus
implementation libs.combatlogx
}
}
project(':factions') {
apply plugin: 'com.github.johnrengelman.shadow'
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
repositories {
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
content {
includeGroup 'org.bukkit'
includeGroup 'org.spigotmc'
}
}
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
implementation project(path: ':gsgcore', configuration: 'shadow')
implementation 'org.spigotmc:spigot-api:1.9-R0.1-SNAPSHOT'
implementation libs.worldguard
implementation libs.vault
implementation libs.worldedit
implementation libs.fanciful
implementation libs.coreprotect
implementation libs.combattagplus
implementation libs.essentials
implementation libs.clipplaceholderapi
implementation(libs.mvdw)
}
shadowJar {
//version = null
classifier = null
dependencies {
//noinspection GroovyAssignabilityCheck
include(dependency('mkremins:fanciful:0.4.0-SNAPSHOT'))
}
}
artifacts {
archives shadowJar
}
}
project(':gsggen') {
dependencies {
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
/*compile(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi'
}*/
compile(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi'
}
implementation project(path: ':gsgcore', configuration: 'shadow')
implementation project(path: ':factions')
implementation libs.combattagplus
implementation libs.vault
}
}
project(':gsgtrenchtools') {
dependencies {
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
/*compile(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi'
}*/
compile(group: 'net.techcable.tacospigot', name: 'server', version: '1.8.8-R0.2-SNAPSHOT') {
exclude group: 'it.unimi.dsi'
}
implementation project(path: ':gsgcore', configuration: 'shadow')
implementation project(path: ':factions')
implementation libs.mcmmo
implementation libs.coreprotect
implementation libs.combattagplus
implementation libs.vault
}
}