Skip to content

Commit d1492af

Browse files
committed
Replace deprecated Gradle Task method in AspectJPlugin.groovy
This commit ensures that the method Task.deleteAllActions is not used Fixes: spring-projectsgh-6128
1 parent e60e171 commit d1492af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/groovy/aspectj/AspectJPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class AspectJPlugin implements Plugin<Project> {
5959
aspectPath = project.configurations.aspectpath
6060
}
6161

62-
javaCompileTask.deleteAllActions()
62+
javaCompileTask.setActions Arrays.asList()
6363
javaCompileTask.dependsOn ajCompileTask
6464

6565
}

0 commit comments

Comments
 (0)