xpipe-mirror/gradle/gradle_scripts/local_junit_suite.gradle
2024-05-27 21:15:19 +00:00

37 lines
1.3 KiB
Groovy

apply from: "$rootDir/gradle/gradle_scripts/junit.gradle"
testing {
suites {
localTest(JvmTestSuite) {
useJUnitJupiter()
dependencies {
implementation project(':core')
implementation project(':beacon')
implementation project(':app')
implementation project(':base')
implementation project()
}
targets {
all {
testTask.configure {
workingDir = rootDir
jvmArgs += ["-Xmx2g"]
jvmArgs += jvmRunArgs
systemProperty 'io.xpipe.app.fullVersion', "true"
systemProperty 'io.xpipe.beacon.printDaemonOutput', "false"
systemProperty 'io.xpipe.app.useVirtualThreads', "false"
// systemProperty "io.xpipe.beacon.port", "21725"
systemProperty "io.xpipe.beacon.launchDebugDaemon", "true"
systemProperty "io.xpipe.app.dataDir", "$projectDir/local/"
systemProperty "io.xpipe.app.logLevel", "trace"
systemProperty "io.xpipe.app.writeSysOut", "true"
}
}
}
}
}
}