From d1492afc0c463e2f3269b44bbc1a4d8332c127a6 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez <5624449+raphaelDL@users.noreply.github.com> Date: Thu, 22 Nov 2018 23:14:51 -0600 Subject: [PATCH] Replace deprecated Gradle Task method in AspectJPlugin.groovy This commit ensures that the method Task.deleteAllActions is not used Fixes: gh-6128 --- buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy b/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy index 42258f13ea..c0b32f9b86 100644 --- a/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy +++ b/buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy @@ -59,7 +59,7 @@ class AspectJPlugin implements Plugin { aspectPath = project.configurations.aspectpath } - javaCompileTask.deleteAllActions() + javaCompileTask.setActions Arrays.asList() javaCompileTask.dependsOn ajCompileTask }