Explorar o código

Replace deprecated Gradle Task method in AspectJPlugin.groovy

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

Fixes: gh-6128
Rafael Dominguez %!s(int64=6) %!d(string=hai) anos
pai
achega
d1492afc0c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 
 		}