Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Update net.wooga.plugins to version 3.x (#120)
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-release`
would become `net.wooga.gradle:release`.

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 authored May 5, 2022
1 parent bcdc0e7 commit f1cc3f4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 32 deletions.
24 changes: 11 additions & 13 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 the original author or authors.
* Copyright 2017-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -16,7 +16,7 @@
*/

plugins {
id 'net.wooga.plugins' version '2.3.0'
id 'net.wooga.plugins' version '3.2.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 @@ -29,12 +29,15 @@ pluginBundle {
website = 'https://wooga.github.io/atlas-release'
vcsUrl = 'https://github.com/wooga/atlas-release'
tags = ['Wooga', 'release']
}

gradlePlugin {
plugins {
release {
id = 'net.wooga.release'
displayName = 'Gradle Wooga Release plugin'
description = 'Plugin for wooga unity library releases'
implementationClass = 'wooga.gradle.release.ReleasePlugin'
}
}
}
Expand All @@ -50,29 +53,24 @@ cveHandler {
repositories {
mavenCentral()
gradlePluginPortal()
maven {
name = 'ajoberstar-backup'
url = 'https://ajoberstar.org/bintray-backup/'
}
}

dependencies {
testImplementation('org.jfrog.artifactory.client:artifactory-java-client-services:+') {
exclude module: 'logback-classic'
}

testImplementation 'gradle.plugin.net.wooga.gradle:atlas-unity:[2.3.0,3['
testImplementation 'gradle.plugin.net.wooga.gradle:atlas-wdk-unity:[2.1.1,3['
testImplementation 'net.wooga.gradle:unity:[3,4['
testImplementation 'net.wooga.gradle:wdk-unity:[3,4['
testImplementation 'com.wooga.gradle:gradle-commons-test:[1,2['

implementation group: 'org.kohsuke', name: 'github-api', version: '1.135'
implementation 'org.ajoberstar.grgit:grgit-core:[4.1.1,5['
implementation 'org.ajoberstar.grgit:grgit-gradle:[4.1.1,5['
implementation 'com.wooga.gradle:gradle-commons:[1,2['

implementation 'gradle.plugin.net.wooga.gradle:atlas-version:[1.3,2['
implementation 'gradle.plugin.net.wooga.gradle:atlas-paket:[2,3['
implementation 'gradle.plugin.net.wooga.gradle:atlas-github:[2.1,3['
implementation 'gradle.plugin.net.wooga.gradle:atlas-GithubReleaseNotes:[1.1,2['
implementation 'net.wooga.gradle:version:[2,3['
implementation 'net.wooga.gradle:paket:[3,4['
implementation 'net.wooga.gradle:github:[3,4['
implementation 'net.wooga.gradle:github-release-notes:[2,3['
}

2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ pluginManagement {
}
}

rootProject.name = 'atlas-release'
rootProject.name = 'release'

This file was deleted.

0 comments on commit f1cc3f4

Please sign in to comment.