Files
jwo/jwo-test/build.gradle
T
woggioni b89c188bb5
CI / Build and Test (push) Failing after 1m34s
updated third party library dependencies
2026-06-20 13:53:27 +08:00

34 lines
956 B
Groovy

plugins {
id 'java-library'
alias(catalog.plugins.lombok)
alias(catalog.plugins.envelope)
}
import net.woggioni.gradle.envelope.EnvelopeJarTask
import net.woggioni.gradle.envelope.EnvelopePlugin
java {
modularity.inferModulePath = true
}
Provider<EnvelopeJarTask> envelopeJarTaskProvider = tasks.named(EnvelopePlugin.ENVELOPE_JAR_TASK_NAME, EnvelopeJarTask.class) {
mainModule = "net.woggioni.jwo.lockfile.test"
mainClass = "net.woggioni.jwo.lockfile.test.LockFileTestMain"
}
dependencies {
implementation rootProject
testImplementation catalog.slf4j.api
testImplementation project(':jwo-test-module')
testImplementation project(':')
testRuntimeOnly catalog.slf4j.simple
}
test {
dependsOn(envelopeJarTaskProvider)
systemProperty('lockFileTest.executable.jar', envelopeJarTaskProvider.flatMap {it.archiveFile}.get().getAsFile())
systemProperty('org.slf4j.simpleLogger.showDateTime', 'true')
}