Class AspectJRuntime
- java.lang.Object
-
- io.freefair.gradle.plugins.aspectj.internal.AspectJRuntime
-
public class AspectJRuntime extends Object
- See Also:
GroovyRuntime
-
-
Constructor Summary
Constructors Constructor Description AspectJRuntime(Project project)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileCollection
inferAspectjClasspath(FileCollection classpath)
Searches the specified class path for AspectJ Jars (aspectjrt
,aspectjweaver
) and returns a corresponding class path for executing AspectJ tools such as the ajc compiler.
-
-
-
Constructor Detail
-
AspectJRuntime
public AspectJRuntime(Project project)
-
-
Method Detail
-
inferAspectjClasspath
public FileCollection inferAspectjClasspath(FileCollection classpath)
Searches the specified class path for AspectJ Jars (aspectjrt
,aspectjweaver
) and returns a corresponding class path for executing AspectJ tools such as the ajc compiler. The tool versions will match those of the AspectJ Jars found.The returned class path may be empty, or may fail to resolve when asked for its contents.
- Parameters:
classpath
- a class path containing AspectJ Jars- Returns:
- a corresponding class path for executing AspectJ tools such as the AspectJ compiler
- See Also:
GroovyRuntime.inferGroovyClasspath(Iterable)
-
-