Exclude tests

This commit is contained in:
Fury_Phoenix 2023-12-05 09:43:54 -08:00
parent 1d88e1b1e6
commit 587fb08ce2
No known key found for this signature in database
GPG Key ID: 0595F98084987DB8

View File

@ -34,6 +34,8 @@ tasks.withType(JavaCompile) {
options.fork = true
options.forkOptions.jvmArgs << '--enable-preview'
configure(options) {
if (!name.toLowerCase().contains('test')) {
options.compilerArgs << "-ArootProject.name=${rootProject.name}" << "-Aproject.name=${project.name}"
}
}
}