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:
parent
e60e17109c
commit
d1492afc0c
|
@ -59,7 +59,7 @@ class AspectJPlugin implements Plugin<Project> {
|
|||
aspectPath = project.configurations.aspectpath
|
||||
}
|
||||
|
||||
javaCompileTask.deleteAllActions()
|
||||
javaCompileTask.setActions Arrays.asList()
|
||||
javaCompileTask.dependsOn ajCompileTask
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue