io.freefair.gradle.plugins.lombok.LombokExtension 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;
import org.gradle.api.provider.Property;
/**
* @author Lars Grefer
* @see LombokPlugin
*/
public abstract class LombokExtension {
public static final String LOMBOK_VERSION = "1.18.36";
/**
* The version of Lombok which will be used.
*/
public abstract Property getVersion();
public abstract Property getDisableConfig();
public LombokExtension() {
getVersion().convention(LOMBOK_VERSION);
getDisableConfig().convention(System.getProperty("lombok.disableConfig") != null);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy