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:
Rafael Dominguez 2018-11-22 23:14:51 -06:00
parent e60e17109c
commit d1492afc0c
No known key found for this signature in database
GPG Key ID: EE7E3AD1394B33CB
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class AspectJPlugin implements Plugin<Project> {
aspectPath = project.configurations.aspectpath
}
javaCompileTask.deleteAllActions()
javaCompileTask.setActions Arrays.asList()
javaCompileTask.dependsOn ajCompileTask
}