Class AspectjCompile
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- org.gradle.api.internal.ConventionTask
-
- org.gradle.api.tasks.SourceTask
-
- org.gradle.api.tasks.compile.AbstractCompile
-
- io.freefair.gradle.plugins.aspectj.AspectjCompile
-
- All Implemented Interfaces:
java.lang.Comparable<Task>
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.IConventionAware
,org.gradle.api.internal.TaskInternal
,ExtensionAware
,Task
,PatternFilterable
,Configurable<Task>
@CacheableTask public abstract class AspectjCompile extends AbstractCompile
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Task
Task.Namer
-
-
Field Summary
-
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
-
-
Constructor Summary
Constructors Constructor Description AspectjCompile()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
ajcOptions(Action<AspectJCompileOptions> action)
protected void
compile()
protected AspectJCompileSpec
createSpec()
AspectJCompileOptions
getAjcOptions()
abstract ConfigurableFileCollection
getAspectjClasspath()
FileCollection
getClasspath()
DirectoryProperty
getDestinationDirectory()
Make the destinationDirectory optional.protected abstract FileSystemOperations
getFileSystemOperations()
abstract Property<JavaLauncher>
getLauncher()
CompileOptions
getOptions()
protected abstract ProjectLayout
getProjectLayout()
FileTree
getSource()
void
options(Action<CompileOptions> action)
-
Methods inherited from class org.gradle.api.tasks.compile.AbstractCompile
getDestinationDir, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibility
-
Methods inherited from class org.gradle.api.tasks.SourceTask
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSet, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, source
-
Methods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMapping
-
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
-
-
-
Method Detail
-
getFileSystemOperations
@Inject protected abstract FileSystemOperations getFileSystemOperations()
-
getProjectLayout
@Inject protected abstract ProjectLayout getProjectLayout()
-
getAspectjClasspath
@Classpath public abstract ConfigurableFileCollection getAspectjClasspath()
-
getLauncher
@Optional public abstract Property<JavaLauncher> getLauncher()
-
getSource
@InputFiles @SkipWhenEmpty @PathSensitive(RELATIVE) public FileTree getSource()
- Overrides:
getSource
in classSourceTask
-
getDestinationDirectory
@Optional @OutputDirectory public DirectoryProperty getDestinationDirectory()
Make the destinationDirectory optional. outjar could also be used.- Overrides:
getDestinationDirectory
in classAbstractCompile
-
getClasspath
@CompileClasspath public FileCollection getClasspath()
- Overrides:
getClasspath
in classAbstractCompile
-
compile
protected void compile()
-
createSpec
protected AspectJCompileSpec createSpec()
-
options
public void options(Action<CompileOptions> action)
-
ajcOptions
public void ajcOptions(Action<AspectJCompileOptions> action)
-
getOptions
public CompileOptions getOptions()
-
getAjcOptions
public AspectJCompileOptions getAjcOptions()
-
-