From b3f91558f537bfb5ba7eed8d75af03af22723eac Mon Sep 17 00:00:00 2001 From: Roberto Perez Alcolea Date: Tue, 11 Oct 2022 11:23:59 -0700 Subject: [PATCH] Migrate to com.netflix.nebula.plugin-plugin --- build.gradle | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 49f819e3..1d6b926a 100644 --- a/build.gradle +++ b/build.gradle @@ -104,21 +104,31 @@ afterEvaluate { } } -pluginBundle { - website = 'https://github.com/nebula-plugins/gradle-lint-plugin' - vcsUrl = 'https://github.com/nebula-plugins/gradle-lint-plugin.git' - description = 'Pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts' - +gradlePlugin { plugins { gradeLint { id = 'nebula.lint' displayName = 'Nebula Lint plugin' description = 'Pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts' - tags = ['nebula', 'lint'] + implementationClass = 'com.netflix.nebula.lint.plugin.GradleLintPlugin' + } + gradeLint { + id = 'nebula.configEnvironment' + displayName = 'Nebula Config Environment plugin' + description = 'Pluggable and configurable linter tool for identifying and reporting on patterns of misuse or deprecations in Gradle scripts' + implementationClass = 'com.netflix.nebula.config.plugin.ConfigurationEnvironmentPlugin' } } } + +pluginBundle { + website = 'https://github.com/nebula-plugins/gradle-lint-plugin' + vcsUrl = 'https://github.com/nebula-plugins/gradle-lint-plugin.git' + tags = ['nebula', 'lint'] +} + + // Relocate jgit dependency not available in Maven Central // Replaces the main artifact by removing the classifier for the shadow jar, and replacing jar with shadowJar // Relocated dependencies are removed from the generated pom