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 FileCollectioninferAspectjClasspath(FileCollection classpath)Searches the specified class path for Groovy Jars (groovy(-indy),groovy-all(-indy)) and returns a corresponding class path for executing Groovy tools such as the Groovy compiler and Groovydoc tool.
-
-
-
Constructor Detail
-
AspectjRuntime
public AspectjRuntime(Project project)
-
-
Method Detail
-
inferAspectjClasspath
public FileCollection inferAspectjClasspath(FileCollection classpath)
Searches the specified class path for Groovy Jars (groovy(-indy),groovy-all(-indy)) and returns a corresponding class path for executing Groovy tools such as the Groovy compiler and Groovydoc tool. The tool versions will match those of the Groovy Jars found. If no Groovy Jars are found on the specified class path, a class path with the contents of thegroovyconfiguration will be returned.The returned class path may be empty, or may fail to resolve when asked for its contents.
- Parameters:
classpath- a class path containing Groovy Jars- Returns:
- a corresponding class path for executing Groovy tools such as the Groovy compiler and Groovydoc tool
-
-