Fix error with test conventions on tasks that require Docker (#42719)
This commit is contained in:
parent
6c50246a58
commit
34fd9ce067
|
@ -260,7 +260,7 @@ class BuildPlugin implements Plugin<Project> {
|
||||||
if (ext.get('buildDocker')) {
|
if (ext.get('buildDocker')) {
|
||||||
(ext.get('requiresDocker') as List<Task>).add(task)
|
(ext.get('requiresDocker') as List<Task>).add(task)
|
||||||
} else {
|
} else {
|
||||||
task.enabled = false
|
task.onlyIf { false }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue