Interface AspectjSourceSet
-
- All Superinterfaces:
WeavingSourceSet
- All Known Implementing Classes:
DefaultAspectjSourceSet
public interface AspectjSourceSet extends WeavingSourceSet
- See Also:
GroovySourceSet
,ScalaSourceSet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AspectjSourceSet
aspectj(groovy.lang.Closure configureClosure)
Configures the Groovy source for this set.AspectjSourceSet
aspectj(Action<? super SourceDirectorySet> configureAction)
Configures the Groovy source for this set.SourceDirectorySet
getAllAspectj()
All Groovy source for this source set.SourceDirectorySet
getAspectj()
Returns the source to be compiled by the Groovy compiler for this source set.-
Methods inherited from interface io.freefair.gradle.plugins.aspectj.WeavingSourceSet
getAspectConfigurationName, getAspectPath, getInPath, getInpathConfigurationName, setAspectPath, setInPath
-
-
-
-
Method Detail
-
getAspectj
SourceDirectorySet getAspectj()
Returns the source to be compiled by the Groovy compiler for this source set. Any Java source present in this set will be passed to the Groovy compiler for joint compilation.- Returns:
- The Groovy/Java source. Never returns null.
-
aspectj
AspectjSourceSet aspectj(@Nullable groovy.lang.Closure configureClosure)
Configures the Groovy source for this set.The given closure is used to configure the
SourceDirectorySet
which contains the Groovy source.- Parameters:
configureClosure
- The closure to use to configure the Groovy source.- Returns:
- this
-
aspectj
AspectjSourceSet aspectj(Action<? super SourceDirectorySet> configureAction)
Configures the Groovy source for this set.The given action is used to configure the
SourceDirectorySet
which contains the Groovy source.- Parameters:
configureAction
- The action to use to configure the Groovy source.- Returns:
- this
-
getAllAspectj
SourceDirectorySet getAllAspectj()
All Groovy source for this source set.- Returns:
- the Groovy source. Never returns null.
-
-