mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-05-31 01:21:55 +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
51 lines
1.5 KiB
Groovy
51 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.gradleup.shadow'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.ow2.asm:asm:9.8'
|
|
implementation 'org.ow2.asm:asm-commons:9.8'
|
|
implementation 'org.yaml:snakeyaml:2.2'
|
|
implementation 'org.jetbrains:annotations:26.0.2'
|
|
|
|
compileOnly 'com.mysql:mysql-connector-j:9.3.0'
|
|
compileOnly 'com.h2database:h2:2.2.220'
|
|
implementation'com.github.ben-manes.caffeine:caffeine:3.1.8'
|
|
compileOnly 'org.mongodb:mongo-java-driver:3.12.14'
|
|
|
|
testImplementation 'org.mockito:mockito-core:5.11.0'
|
|
testImplementation "org.junit.jupiter:junit-jupiter:5.8.1"
|
|
testImplementation "org.testcontainers:testcontainers:2.0.4"
|
|
testImplementation "org.testcontainers:testcontainers-junit-jupiter:2.0.4"
|
|
testImplementation 'org.testcontainers:mysql:1.20.4'
|
|
testImplementation 'org.testcontainers:mongodb:1.20.4'
|
|
testRuntimeOnly 'org.slf4j:slf4j-simple:2.0.16'
|
|
testImplementation 'com.mysql:mysql-connector-j:9.3.0'
|
|
testImplementation 'com.h2database:h2:2.2.220'
|
|
testImplementation 'org.mongodb:mongo-java-driver:3.12.14'
|
|
testImplementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set('')
|
|
|
|
dependencies {
|
|
exclude 'dev/brighten/antivpn/depends/Relocate*'
|
|
exclude 'dev/brighten/antivpn/depends/MavenLibraries*'
|
|
}
|
|
}
|
|
|
|
tasks.build.dependsOn shadowJar
|
|
components.java.withVariantsFromConfiguration(configurations.shadowRuntimeElements) {
|
|
skip()
|
|
}
|
|
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
archiveClassifier.set('raw')
|
|
}
|