Fix error with test conventions on tasks that require Docker (#42719)

This commit is contained in:
Mark Vieira 2019-06-03 10:25:52 -07:00
parent 6c50246a58
commit 34fd9ce067
No known key found for this signature in database
GPG Key ID: CA947EF7E6D4B105
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ class BuildPlugin implements Plugin<Project> {
if (ext.get('buildDocker')) {
(ext.get('requiresDocker') as List<Task>).add(task)
} else {
task.enabled = false
task.onlyIf { false }
}
}