Skip to content

Commit

Permalink
Update net.wooga.plugins to version 3.x
Browse files Browse the repository at this point in the history
Description
===========

This update will bring the plugin `net.wooga.plugins` to
version `3.x`. With this change the groupname of the gradle
plugin will change during publish so I thought it might be
a good idea to change the project name as well so the groupname
won't include the `atlas` name.

The old groupname `gradle.plugin.net.wooga.gradle:atlas-version`
would become `net.wooga.gradle:version`.

This patch also includes all changes needed for the new
plugin metadata description.

Changes
=======

* ![UPDATE] `net.wooga.plugins` to version `3.x` range
* ![CHANGE] project name and remove `atlas` term
* ![IMPROVE] plugin publish metadata
  • Loading branch information
Larusso committed May 2, 2022
1 parent 02792db commit e8fd5ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 29 deletions.
16 changes: 6 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,9 @@
* limitations under the License.
*
*/
buildscript {
configurations.all {
resolutionStrategy {
force 'org.ajoberstar.grgit:grgit-core:4.1.1'
}
}
}

plugins {
id 'net.wooga.plugins' version '2.2.4'
id 'net.wooga.plugins' version '3.1.0'
id 'net.wooga.snyk' version '0.10.0'
id "net.wooga.snyk-gradle-plugin" version "0.2.0"
id "net.wooga.cve-dependency-resolution" version "0.4.0"
Expand All @@ -36,18 +29,21 @@ description = 'a slack plugin for Gradle.'
pluginBundle {
website = 'https://wooga.github.io/atlas-version/'
vcsUrl = 'https://github.com/wooga/atlas-version'
tags = []
tags = ['semver', 'git', 'version', 'versioning']
}

gradlePlugin {
plugins {
version {
id = 'net.wooga.version'
displayName = 'Wooga Version plugin'
description = 'Infer a project\'s version from your Git repository'
tags = ['semver', 'git', 'version', 'versioning']
implementationClass = 'wooga.gradle.version.VersionPlugin'
}
}
}


github {
repositoryName = "wooga/atlas-version"
}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ include 'api'
include 'services:webservice'
*/

rootProject.name = 'atlas-version'
rootProject.name = 'version'

This file was deleted.

0 comments on commit e8fd5ed

Please sign in to comment.