All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.freefair.gradle.plugins.lombok.LombokExtension Maven / Gradle / Ivy

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