Sfoglia il codice sorgente

Replace deprecated Gradle Task method in AspectJPlugin.groovy

This commit ensures that the method Task.deleteAllActions is not used

Fixes: gh-6128
Rafael Dominguez 6 anni fa
parent
commit
d1492afc0c
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy

+ 1 - 1
buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy

@@ -59,7 +59,7 @@ class AspectJPlugin implements Plugin<Project> {
 				aspectPath = project.configurations.aspectpath
 			}
 
-			javaCompileTask.deleteAllActions()
+			javaCompileTask.setActions Arrays.asList()
 			javaCompileTask.dependsOn ajCompileTask
 
 		}