Compiles Java and Groovy source files. This works by invoking the GenerateStubsTask task, then the Javac task and then the GroovycTask. Each task can be configured by creating a nested element. Common configuration such as the source dir and classpath is picked up from this tasks configuration.
Type Params | Return Type | Name and description |
---|---|---|
|
Path |
createClasspath() |
|
UberCompileTask.GenStubsAdapter |
createGeneratestubs() |
|
UberCompileTask.GroovycAdapter |
createGroovyc() |
|
UberCompileTask.JavacAdapter |
createJavac() |
|
Path |
createSrc() |
|
void |
execute() |
|
Path |
getClasspath() |
|
Path |
getSrcdir() |
|
void |
setClasspath(Path path) |
|
void |
setClasspathRef(Reference r) |
|
void |
setDestdir(File dir) |
|
void |
setSrcdir(Path dir) |
|
protected void |
validate() |
Methods inherited from class | Name |
---|---|
class Task |
log, log, log, log, init, execute, getTaskName, setRuntimeConfigurableWrapper, getRuntimeConfigurableWrapper, getTaskType, setTaskType, setTaskName, getOwningTarget, setOwningTarget, maybeConfigure, perform, bindToOwner, reconfigure, clone, getLocation, setLocation, getDescription, getProject, setDescription, setProject, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class ProjectComponent |
clone, log, log, getLocation, setLocation, getDescription, getProject, setDescription, setProject, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |