Exclude tests
This commit is contained in:
parent
1d88e1b1e6
commit
587fb08ce2
|
|
@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user