
dev.lajoscseppento.ruthless.plugin.extension.impl.RuthlessExtensionImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ruthless-plugin Show documentation
Show all versions of ruthless-plugin Show documentation
Ruthless conventions for Gradle projects to keep them DRY
package dev.lajoscseppento.ruthless.plugin.extension.impl;
import dev.lajoscseppento.ruthless.plugin.extension.LombokSpec;
import dev.lajoscseppento.ruthless.plugin.extension.RuthlessExtension;
import lombok.Getter;
import lombok.NonNull;
import org.gradle.api.Action;
import org.gradle.api.Project;
public class RuthlessExtensionImpl implements RuthlessExtension {
@Getter private final LombokSpec lombok;
public RuthlessExtensionImpl(@NonNull Project project) {
this.lombok = new LombokSpecImpl(project);
}
@Override
public void lombok(@NonNull Action super LombokSpec> action) {
action.execute(lombok);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy