public abstract class AbsctractLanguageCompileTask
extends org.gradle.api.tasks.SourceTask
| Constructor and Description |
|---|
AbsctractLanguageCompileTask() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
compile() |
protected void |
compile(org.gradle.api.tasks.incremental.IncrementalTaskInputs inputs) |
org.gradle.api.file.FileCollection |
getClasspath()
Returns the classpath to use to compile the source files.
|
java.io.File |
getDestinationDir()
Returns the directory to generate the binaries files into.
|
Language |
getLanguage() |
LanguageSourceSet |
getLanguageSourceSet() |
void |
init(LanguageSourceSet sourceSet,
Language language) |
void |
setClasspath(org.gradle.api.file.FileCollection configuration)
Sets the classpath to use to compile the source files.
|
void |
setDestinationDir(java.io.File destinationDir)
Sets the directory to generate the binaries files into.
|
void |
setDestinationDir(org.gradle.api.provider.Provider<java.io.File> destinationDir)
Sets the directory to generate the binaries files into.
|
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, getSource, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileappendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringpublic final void init(LanguageSourceSet sourceSet, Language language)
@Internal public LanguageSourceSet getLanguageSourceSet()
public Language getLanguage()
protected void compile(org.gradle.api.tasks.incremental.IncrementalTaskInputs inputs)
protected abstract void compile()
@CompileClasspath public org.gradle.api.file.FileCollection getClasspath()
public void setClasspath(org.gradle.api.file.FileCollection configuration)
configuration - The classpath. Must not be null, but may be empty.@OutputDirectory public java.io.File getDestinationDir()
public void setDestinationDir(java.io.File destinationDir)
destinationDir - The destination directory. Must not be null.public void setDestinationDir(org.gradle.api.provider.Provider<java.io.File> destinationDir)
destinationDir - The destination directory. Must not be null.