mirror of
https://github.com/funkemunky/AntiVPN.git
synced 2026-05-31 01:21:55 +00:00
48 lines
1.5 KiB
Groovy
48 lines
1.5 KiB
Groovy
plugins {
|
|
id 'com.gradleup.shadow'
|
|
id 'java-test-fixtures'
|
|
}
|
|
|
|
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.4.240'
|
|
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.4.240'
|
|
testImplementation 'org.mongodb:mongo-java-driver:3.12.14'
|
|
testImplementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
|
|
testFixturesImplementation 'com.github.ben-manes.caffeine:caffeine:3.1.8'
|
|
}
|
|
|
|
shadowJar {
|
|
archiveClassifier.set('')
|
|
}
|
|
|
|
tasks.build.dependsOn shadowJar
|
|
components.java.withVariantsFromConfiguration(configurations.shadowRuntimeElements) {
|
|
skip()
|
|
}
|
|
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
jar {
|
|
archiveClassifier.set('raw')
|
|
}
|