Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
Move to com.netflix namespace for plugin id
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Oct 10, 2022
1 parent 2699af9 commit 8fdf870
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 8fdf870

Please sign in to comment.