10 lines
No EOL
323 B
Groovy
10 lines
No EOL
323 B
Groovy
project.ext {
|
|
// helper function to disable Test Tasks in modules where there are no tests and so the Tests are not required.
|
|
disableTestTasks = { module ->
|
|
module.tasks.whenTaskAdded { task ->
|
|
if(task.name.contains("Test")) {
|
|
task.enabled = false
|
|
}
|
|
}
|
|
}
|
|
} |