public class AspectJRuntime extends Object
GroovyRuntime| Constructor and Description |
|---|
AspectJRuntime(Project project) |
| Modifier and Type | Method and 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. |
public AspectJRuntime(Project project)
public FileCollection inferAspectjClasspath(FileCollection classpath)
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.
classpath - a class path containing AspectJ JarsGroovyRuntime.inferGroovyClasspath(Iterable)