Files
AntiVPN/Sponge/SpongePlugin/build.gradle
T
Dawson c95c7b37a1 Correcting Kick Errors on Bukkit-based platforms (#84)
* 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
2026-04-28 21:30:35 -04:00

35 lines
1.0 KiB
Groovy

plugins {
id 'com.gradleup.shadow'
}
dependencies {
compileOnly 'org.spongepowered:spongeapi:11.0.0'
testImplementation 'org.spongepowered:spongeapi:11.0.0'
compileOnly project(':Common:Source')
testImplementation project(':Common:Source')
compileOnly project(':Common:loader-utils')
testImplementation project(':Common:loader-utils')
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('')
// SpongePlugin pom.xml had some excludes in shade plugin
exclude 'com/google/**'
exclude 'org/objectweb/**'
exclude 'org/checkerframework/**'
}
tasks.build.dependsOn shadowJar