@CacheableTask public abstract class Delombok extends org.gradle.api.DefaultTask implements LombokTask
| Constructor and Description |
|---|
Delombok() |
| Modifier and Type | Method and Description |
|---|---|
void |
delombok() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getBootclasspath()
override Bootclasspath (analogous to javac -bootclasspath option)
|
abstract org.gradle.api.file.ConfigurableFileCollection |
getClasspath()
Classpath (analogous to javac -cp option).
|
abstract org.gradle.api.provider.Property<String> |
getEncoding()
Sets the encoding of your source files.
|
protected abstract org.gradle.process.ExecOperations |
getExecOperations() |
protected abstract org.gradle.api.internal.file.FileOperations |
getFileOperations() |
protected abstract org.gradle.api.file.FileSystemOperations |
getFileSystemOperations() |
protected org.gradle.api.file.FileTree |
getFilteredInput() |
Map<String,String> |
getFormat()
Sets formatting rules.
|
abstract org.gradle.api.file.ConfigurableFileCollection |
getInput() |
abstract org.gradle.api.provider.Property<org.gradle.jvm.toolchain.JavaLauncher> |
getLauncher()
The
JavaLauncher which will be used to invoke lombok. |
abstract org.gradle.api.file.ConfigurableFileCollection |
getLombokClasspath() |
abstract org.gradle.api.file.ConfigurableFileCollection |
getModulePath()
Module path (analogous to javac --module-path option)
|
abstract org.gradle.api.provider.Property<Boolean> |
getNocopy()
Lombok will only delombok source files.
|
abstract org.gradle.api.provider.Property<Boolean> |
getPrint()
Print delombok-ed code to standard output instead of saving it in target directory.
|
abstract org.gradle.api.provider.Property<Boolean> |
getQuiet()
No warnings or errors will be emitted to standard error.
|
abstract org.gradle.api.file.ConfigurableFileCollection |
getSourcepath()
Sourcepath (analogous to javac -sourcepath option).
|
abstract org.gradle.api.file.DirectoryProperty |
getTarget()
Directory to save delomboked files to.
|
abstract org.gradle.api.provider.Property<Boolean> |
getVerbose()
Print the name of each file as it is being delombok-ed.
|
void |
setFormat(Map<String,String> format)
Sets formatting rules.
|
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServicecompareTo@Inject protected abstract org.gradle.api.internal.file.FileOperations getFileOperations()
@Inject protected abstract org.gradle.api.file.FileSystemOperations getFileSystemOperations()
@Inject protected abstract org.gradle.process.ExecOperations getExecOperations()
@Optional public abstract org.gradle.api.provider.Property<org.gradle.jvm.toolchain.JavaLauncher> getLauncher()
LombokTaskJavaLauncher which will be used to invoke lombok.getLauncher in interface LombokTaskJavaToolchainService.launcherFor(JavaToolchainSpec),
JavaToolchainService.launcherFor(Action)@Console public abstract org.gradle.api.provider.Property<Boolean> getVerbose()
@Console public abstract org.gradle.api.provider.Property<Boolean> getQuiet()
@Input @Optional public abstract org.gradle.api.provider.Property<String> getEncoding()
@Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getPrint()
@OutputDirectory public abstract org.gradle.api.file.DirectoryProperty getTarget()
@Classpath @Optional public abstract org.gradle.api.file.ConfigurableFileCollection getClasspath()
@InputFiles @PathSensitive(value=RELATIVE) @Optional public abstract org.gradle.api.file.ConfigurableFileCollection getSourcepath()
@Classpath @Optional public abstract org.gradle.api.file.ConfigurableFileCollection getBootclasspath()
@Classpath @Optional public abstract org.gradle.api.file.ConfigurableFileCollection getModulePath()
@Input @Optional public abstract org.gradle.api.provider.Property<Boolean> getNocopy()
@Classpath public abstract org.gradle.api.file.ConfigurableFileCollection getLombokClasspath()
getLombokClasspath in interface LombokTask@Internal public abstract org.gradle.api.file.ConfigurableFileCollection getInput()
@InputFiles @PathSensitive(value=RELATIVE) @SkipWhenEmpty @IgnoreEmptyDirectories protected org.gradle.api.file.FileTree getFilteredInput()
public void delombok()
throws IOException
IOExceptionpublic Map<String,String> getFormat()