Skip to content

Commit

Permalink
fixed hopefully for gradle 7
Browse files Browse the repository at this point in the history
  • Loading branch information
CutestNekoAqua authored May 4, 2021
1 parent 0ad3bd5 commit cbdff54
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/main/groovy/aspectj/AspectJPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
*
Expand Down Expand Up @@ -114,17 +118,29 @@ class AspectJPlugin implements Plugin<Project> {
}

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<String, String> additionalAjcArgs
@Input
@Optional
List<String> additionalCompilerArgs

Ajc() {
Expand Down Expand Up @@ -181,6 +197,7 @@ class Ajc extends DefaultTask {

class AspectJExtension {

@Input
String version

AspectJExtension(Project project) {
Expand Down

0 comments on commit cbdff54

Please sign in to comment.