mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-03-12 02:41:43 +00:00
31 lines
746 B
Groovy
31 lines
746 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = 21
|
|
targetCompatibility = 21
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':app:cli-ac')
|
|
implementation project(':app:cli-acx')
|
|
|
|
testImplementation platform("org.junit:junit-bom:$junitVersion")
|
|
testImplementation 'org.junit.jupiter:junit-jupiter'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
testImplementation "io.github.a2geek:clth:$clthVersion"
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
|
|
def junit5SystemExit = configurations.testRuntimeClasspath.files
|
|
.find { it.name.contains('junit5-system-exit') }
|
|
jvmArgumentProviders.add({["-javaagent:$junit5SystemExit"]} as CommandLineArgumentProvider)
|
|
} |