Replace deprecated Gradle Task method in AspectJPlugin.groovy
This commit ensures that the method Task.deleteAllActions is not used Fixes: gh-6128
This commit is contained in:
@@ -59,7 +59,7 @@ class AspectJPlugin implements Plugin<Project> {
|
||||
aspectPath = project.configurations.aspectpath
|
||||
}
|
||||
|
||||
javaCompileTask.deleteAllActions()
|
||||
javaCompileTask.setActions Arrays.asList()
|
||||
javaCompileTask.dependsOn ajCompileTask
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user