diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy index daa5032ef17..fc15258215e 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/vagrant/VagrantTestPlugin.groovy @@ -258,9 +258,6 @@ class VagrantTestPlugin implements Plugin { private static void createVagrantBoxesTasks(Project project) { assert project.extensions.esvagrant.boxes != null - final Task clean = project.tasks.clean - assert clean != null - assert project.tasks.stop != null Task stop = project.tasks.stop @@ -337,7 +334,6 @@ class VagrantTestPlugin implements Plugin { } destroy.onlyIf { vagrantDestroy } update.mustRunAfter(destroy) - clean.dependsOn(destroy) Task up = project.tasks.create("vagrant${boxTask}#up", VagrantCommandTask) { command 'up'