From 8fdf87011f86a52761446f42f1551b862739f939 Mon Sep 17 00:00:00 2001 From: Roberto Perez Alcolea Date: Mon, 10 Oct 2022 11:12:50 -0700 Subject: [PATCH] Move to com.netflix namespace for plugin id --- README.md | 2 +- build.gradle | 4 ++-- .../groovy/nebula/plugin/stash/StashRestBasePluginTest.groovy | 2 +- .../nebula/plugin/stash/StashRestPluginIntegrationTest.groovy | 4 ++-- .../groovy/nebula/plugin/stash/StashRestPluginTest.groovy | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e2d6a8b..8f07933 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ gradle-stash-plugin ============================= ![Support Status](https://img.shields.io/badge/nebula-active-green.svg) -[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com.netflix.nebula/gradle-stash-plugin/maven-metadata.xml.svg?label=gradlePluginPortal)](https://plugins.gradle.org/plugin/nebula.gradle-stash) +[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v/https/plugins.gradle.org/m2/com.netflix.nebula/gradle-stash-plugin/maven-metadata.xml.svg?label=gradlePluginPortal)](https://plugins.gradle.org/plugin/com.netflix.nebula.gradle-stash) [![Maven Central](https://img.shields.io/maven-central/v/com.netflix.nebula/gradle-stash-plugin)](https://maven-badges.herokuapp.com/maven-central/com.netflix.nebula/gradle-stash-plugin) ![Build](https://github.com/nebula-plugins/gradle-stash-plugin/actions/workflows/nebula.yml/badge.svg) [![Apache 2.0](https://img.shields.io/github/license/nebula-plugins/gradle-stash-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0) diff --git a/build.gradle b/build.gradle index 5a2df3a..7328032 100644 --- a/build.gradle +++ b/build.gradle @@ -40,14 +40,14 @@ pluginBundle { gradlePlugin { plugins { gradleStash { - id = 'nebula.gradle-stash' + id = 'com.netflix.nebula.gradle-stash' displayName = 'Nebula Stash Plugin' description = project.description implementationClass = 'nebula.plugin.stash.StashRestPlugin' } gradleStashBase { - id = 'nebula.gradle-stash-base' + id = 'com.netflix.nebula.gradle-stash-base' displayName = 'Nebula Stash Base Plugin' description = 'Sets up some common ' implementationClass = 'nebula.plugin.stash.StashRestBasePlugin' diff --git a/src/test/groovy/nebula/plugin/stash/StashRestBasePluginTest.groovy b/src/test/groovy/nebula/plugin/stash/StashRestBasePluginTest.groovy index 04fdb85..1e4d629 100644 --- a/src/test/groovy/nebula/plugin/stash/StashRestBasePluginTest.groovy +++ b/src/test/groovy/nebula/plugin/stash/StashRestBasePluginTest.groovy @@ -5,7 +5,7 @@ import nebula.test.ProjectSpec class StashRestBasePluginTest extends ProjectSpec { def setup() { - project.apply plugin: 'nebula.gradle-stash-base' + project.apply plugin: 'com.netflix.nebula.gradle-stash-base' } def "Can create task of type StashTask"() { diff --git a/src/test/groovy/nebula/plugin/stash/StashRestPluginIntegrationTest.groovy b/src/test/groovy/nebula/plugin/stash/StashRestPluginIntegrationTest.groovy index 5673f74..8265714 100644 --- a/src/test/groovy/nebula/plugin/stash/StashRestPluginIntegrationTest.groovy +++ b/src/test/groovy/nebula/plugin/stash/StashRestPluginIntegrationTest.groovy @@ -16,7 +16,7 @@ class StashRestPluginIntegrationTest extends ProjectSpec { def stash = new StashRestApiImpl() //def failedBuild = [state:"FAILED", key:StashRestApi.RPM_BUILD_KEY, name:StashRestApi.RPM_BUILD_KEY + "-45", url:"http://google.com", description:"build failed"] //stash.postBuildStatus("1f98fba51eafd5d3184e10ccdbb4a615545d5464", failedBuild) - project.apply plugin: 'nebula.gradle-stash' + project.apply plugin: 'com.netflix.nebula.gradle-stash' project.tasks.mergeBuiltPullRequests.execute() } @@ -160,7 +160,7 @@ class StashRestPluginIntegrationTest extends ProjectSpec { */ //@Test public void mergeBranchTask() { - project.apply plugin: 'nebula.gradle-stash' + project.apply plugin: 'com.netflix.nebula.gradle-stash' project.ext.set("pullFromBranch", "a") project.ext.set("mergeToBranch", "master") diff --git a/src/test/groovy/nebula/plugin/stash/StashRestPluginTest.groovy b/src/test/groovy/nebula/plugin/stash/StashRestPluginTest.groovy index 2836148..f7789d0 100644 --- a/src/test/groovy/nebula/plugin/stash/StashRestPluginTest.groovy +++ b/src/test/groovy/nebula/plugin/stash/StashRestPluginTest.groovy @@ -6,7 +6,7 @@ import org.gradle.api.Task class StashRestPluginTest extends ProjectSpec { def setup() { - project.apply plugin: 'nebula.gradle-stash' + project.apply plugin: 'com.netflix.nebula.gradle-stash' assert project.plugins.hasPlugin(StashRestBasePlugin) }