name.remal.gradleplugins.toolkit.buildlogic.BuildLogicPlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of build-logic Show documentation
Show all versions of build-logic Show documentation
Remal Gradle plugins: toolkit: build-logic
package name.remal.gradleplugins.toolkit.buildlogic;
import static name.remal.gradleplugins.toolkit.ResourceUtils.getResourceUrl;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
@SuppressWarnings({"checkstyle:LineLength", "checkstyle:RightCurlyAlone", "InjectedReferences"})
public class BuildLogicPlugin implements Plugin {
public void apply(Project project) {
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/helpers.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/properties.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/ci.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/common.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/dependencies.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/base-package.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/java.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/errorprone.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/classes-relocation.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/cross-compile.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/groovy.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/checkstyle.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/sonarlint.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/javadoc.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/gradle-plugin.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/gradle-plugin-collect-api-dependencies.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/publish-gradle-plugin.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/publish-maven.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/publish-maven-bom.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/publish-maven-central.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/publish-maven-to-build-dir.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/signing.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/process-readme.gradle", BuildLogicPlugin.class)));
project.apply(it -> it.from(getResourceUrl("/name/remal/gradleplugins/toolkit/buildlogic/ide.gradle", BuildLogicPlugin.class)));
project.allprojects(proj ->
proj.getConfigurations()
.getByName("projectDependencyConstraints")
.getDependencies()
.add(
proj.getDependencies().platform("name.remal.gradle-plugins.toolkit:toolkit-bom:0.34.0")
)
);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy