Class AspectJCompileOptions
java.lang.Object
org.gradle.api.tasks.compile.AbstractOptions
io.freefair.gradle.plugins.aspectj.AspectJCompileOptions
- All Implemented Interfaces:
Serializable
Compilation options to be passed to the AspectJ compiler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forkOptions
(Action<AjcForkOptions> action) Weave binary aspects from jar files and directories on path into all sources.Override location of VM's bootclasspath for purposes of evaluating types when compiling.Any additional arguments to be passed to the compiler.Generate a build .ajsym file into the output directory.Specify default source encoding format.Override location of VM's extension directories for purposes of evaluating types when compiling.Options for running the compiler in a child process.Accept as source bytecode any .class files in the .jar files or directories on Path.Put output classes in zip file output.jar.Generate aop xml file for load-time weaving with default name (META-INF/aop-ajc.xml).Generate aop.xml file for load-time weaving with custom name.Find and build all .java or .aj source files under any directory listed in DirPaths.Emit messages about accessed/processed compilation units.void
setCompilerArgs
(List<String> compilerArgs) Any additional arguments to be passed to the compiler.void
setCompilerArgumentProviders
(List<CommandLineArgumentProvider> compilerArgumentProviders) Methods inherited from class org.gradle.api.tasks.compile.AbstractOptions
define
-
Constructor Details
-
AspectJCompileOptions
-
-
Method Details
-
forkOptions
-
getInpath
Accept as source bytecode any .class files in the .jar files or directories on Path. The output will include these classes, possibly as woven with any applicable aspects. Path is a single argument containing a list of paths to zip files or directories. -
getAspectpath
Weave binary aspects from jar files and directories on path into all sources. The aspects should have been output by the same version of the compiler. When running the output classes, the run classpath should contain all aspectpath entries. Path, like classpath, is a single argument containing a list of paths to jar files. -
getOutjar
Put output classes in zip file output.jar. -
getOutxml
Generate aop xml file for load-time weaving with default name (META-INF/aop-ajc.xml). -
getOutxmlfile
Generate aop.xml file for load-time weaving with custom name. -
getSourceroots
Find and build all .java or .aj source files under any directory listed in DirPaths. DirPaths, like classpath, is a single argument containing a list of paths to directories. -
getCrossrefs
Generate a build .ajsym file into the output directory. Used for viewing crosscutting references by tools like the AspectJ Browser. -
getBootclasspath
Override location of VM's bootclasspath for purposes of evaluating types when compiling. Path is a single argument containing a list of paths to zip files or directories. -
getExtdirs
Override location of VM's extension directories for purposes of evaluating types when compiling. Path is a single argument containing a list of paths to directories. -
getXmlConfigured
-
getEncoding
Specify default source encoding format. -
getVerbose
Emit messages about accessed/processed compilation units. -
getCompilerArgs
Any additional arguments to be passed to the compiler. -
getCompilerArgumentProviders
-
getForkOptions
Options for running the compiler in a child process. -
setCompilerArgs
Any additional arguments to be passed to the compiler. -
setCompilerArgumentProviders
public void setCompilerArgumentProviders(List<CommandLineArgumentProvider> compilerArgumentProviders)
-