From cbdff54a8f963ae00835caecf23992826c61388d Mon Sep 17 00:00:00 2001 From: Waterdev <30842467+UnrealValentin@users.noreply.github.com> Date: Tue, 4 May 2021 14:25:07 +0200 Subject: [PATCH] fixed hopefully for gradle 7 --- src/main/groovy/aspectj/AspectJPlugin.groovy | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/main/groovy/aspectj/AspectJPlugin.groovy b/src/main/groovy/aspectj/AspectJPlugin.groovy index 984f4c3..a540709 100644 --- a/src/main/groovy/aspectj/AspectJPlugin.groovy +++ b/src/main/groovy/aspectj/AspectJPlugin.groovy @@ -9,6 +9,10 @@ import org.gradle.api.logging.LogLevel import org.gradle.api.plugins.JavaPlugin import org.gradle.api.tasks.SourceSet import org.gradle.api.tasks.TaskAction +import org.gradle.api.tasks.Input +import org.gradle.api.tasks.InputFiles +import org.gradle.api.tasks.Internal +import org.gradle.api.tasks.Optional /** * @@ -114,17 +118,29 @@ class AspectJPlugin implements Plugin { } class Ajc extends DefaultTask { - + @Internal SourceSet sourceSet + @InputFiles FileCollection aspectpath + @InputFiles FileCollection ajInpath // ignore or warning + @Input + @Optional String xlint = 'ignore' + @Input + @Optional String maxmem + + + @Input + @Optional Map additionalAjcArgs + @Input + @Optional List additionalCompilerArgs Ajc() { @@ -181,6 +197,7 @@ class Ajc extends DefaultTask { class AspectJExtension { + @Input String version AspectJExtension(Project project) {