mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-05-31 01:21:55 +00:00
29 lines
888 B
Groovy
29 lines
888 B
Groovy
plugins {
|
|
id 'com.gradleup.shadow'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT'
|
|
implementation project(':Common:Source')
|
|
implementation project(':Common:loader-utils')
|
|
implementation 'org.bstats:bstats-bukkit:2.2.1'
|
|
testImplementation 'com.github.seeseemelk:MockBukkit-v1.20:3.84.0'
|
|
testImplementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
|
|
testImplementation 'org.mockito:mockito-core:5.11.0'
|
|
testImplementation 'org.mockito:mockito-subclass:5.11.0'
|
|
testImplementation 'org.mockito:mockito-junit-jupiter:5.11.0'
|
|
testImplementation testFixtures(project(':Common:Source'))
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set('')
|
|
relocate 'org.bstats', 'dev.brighten.antivpn.bukkit.org.bstats'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
systemProperty 'mockito.mockmaker', 'subclass'
|
|
}
|
|
|
|
tasks.build.dependsOn shadowJar
|