소스 검색

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 년 전
부모
커밋
d1492afc0c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 
 		}