Interface AspectjSourceSet
-
- All Superinterfaces:
WeavingSourceSet
- All Known Implementing Classes:
DefaultAspectjSourceSet
public interface AspectjSourceSet extends WeavingSourceSet
- See Also:
GroovySourceSet
,ScalaSourceSet
-
-
Field Summary
-
Fields inherited from interface io.freefair.gradle.plugins.aspectj.WeavingSourceSet
ASPECT_PATH_EXTENSION_NAME, IN_PATH_EXTENSION_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AspectjSourceSet
aspectj(groovy.lang.Closure configureClosure)
Deprecated.UsegetAspectj(SourceSet)
instead.AspectjSourceSet
aspectj(Action<? super SourceDirectorySet> configureAction)
Deprecated.UsegetAspectj(SourceSet)
instead.SourceDirectorySet
getAllAspectj()
Deprecated.SourceDirectorySet
getAspectj()
Deprecated.UsegetAspectj(SourceSet)
instead.static AspectjSourceDirectorySet
getAspectj(SourceSet sourceSet)
-
Methods inherited from interface io.freefair.gradle.plugins.aspectj.WeavingSourceSet
getAspectConfigurationName, getAspectPath, getInPath, getInpathConfigurationName, setAspectPath, setInPath
-
-
-
-
Method Detail
-
getAspectj
@Deprecated SourceDirectorySet getAspectj()
Deprecated.UsegetAspectj(SourceSet)
instead.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
@Deprecated AspectjSourceSet aspectj(@Nullable groovy.lang.Closure configureClosure)
Deprecated.UsegetAspectj(SourceSet)
instead.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
@Deprecated AspectjSourceSet aspectj(Action<? super SourceDirectorySet> configureAction)
Deprecated.UsegetAspectj(SourceSet)
instead.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
@Deprecated SourceDirectorySet getAllAspectj()
Deprecated.All Groovy source for this source set.- Returns:
- the Groovy source. Never returns null.
-
getAspectj
static AspectjSourceDirectorySet getAspectj(SourceSet sourceSet)
-
-