mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-05-31 09:31:54 +00:00
c95c7b37a1
* Forcing BukkitPlayer#kickPlayer to always run within a main thread context using BukkitRunnable. Bumping version to 1.10.1 * Fixing async kick error, adding condition that allows players to be whitelisted even while they are offline (assuming this is not a cracked server). * Updating gradle piplines and files * correcting startup bug as a result of a packaging issue * Fixing asynchronous run command * Adds a regression test to ensure this doesnt happen again
30 lines
920 B
Groovy
30 lines
920 B
Groovy
plugins {
|
|
id 'com.gradleup.shadow'
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'net.md-5:bungeecord-api:1.21-R0.2'
|
|
testImplementation 'net.md-5:bungeecord-api:1.21-R0.2'
|
|
implementation project(':Common:Source')
|
|
implementation project(':Common:loader-utils')
|
|
implementation 'org.bstats:bstats-bungeecord:2.2.1'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
|
|
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 'com.github.ben-manes.caffeine:caffeine:3.1.8'
|
|
}
|
|
tasks.compileJava.dependsOn(':Common:Source:jar')
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
systemProperty 'mockito.mockmaker', 'subclass'
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set('')
|
|
relocate 'org.bstats', 'dev.brighten.antivpn.bungee.org.bstats'
|
|
}
|
|
|
|
tasks.build.dependsOn shadowJar
|