io.freefair.gradle.plugins.lombok.tasks.LombokJarTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lombok-plugin Show documentation
Show all versions of lombok-plugin Show documentation
Collection of Lombok related Gradle plugins
The newest version!
package io.freefair.gradle.plugins.lombok.tasks;
import lombok.Getter;
import org.gradle.api.file.ConfigurableFileCollection;
import org.gradle.api.internal.file.copy.CopyAction;
import org.gradle.api.provider.Property;
import org.gradle.api.tasks.Classpath;
import org.gradle.api.tasks.Nested;
import org.gradle.api.tasks.Optional;
import org.gradle.api.tasks.bundling.AbstractArchiveTask;
import org.gradle.jvm.toolchain.JavaLauncher;
import javax.annotation.Nonnull;
@Getter
public abstract class LombokJarTask extends AbstractArchiveTask implements LombokTask {
@Classpath
public abstract ConfigurableFileCollection getLombokClasspath();
@Nested
@Optional
public abstract Property getLauncher();
LombokJarTask() {
getArchiveExtension().set("jar");
getArchiveBaseName().convention("lombok");
}
@Override
@Nonnull
protected final CopyAction createCopyAction() {
throw new UnsupportedOperationException();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy