diff --git a/CHANGES b/CHANGES index cc1e1a9..12294e2 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +[2.1.0] +Update to Gradle 7.5.1 + [2.0.0] - Change plugin structure to allow custom push tasks (big thanks to klianc09) diff --git a/README.md b/README.md index c9f6c6c..96135f6 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ buildscript { mavenCentral() } dependencies { - classpath group: 'org.mini2Dx', name: 'butler', version: '2.0.0' + classpath group: 'org.mini2Dx', name: 'butler', version: '2.1.0' } } ``` @@ -123,7 +123,7 @@ buildscript { mavenCentral() } dependencies { - classpath group: 'org.mini2Dx', name: 'butler', version: '2.0.0' + classpath group: 'org.mini2Dx', name: 'butler', version: '2.1.0' } } ``` diff --git a/build.gradle b/build.gradle index 07ba3c8..98b31de 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,11 @@ buildscript { repositories { mavenLocal() mavenCentral() + maven { url 'https://plugins.gradle.org/m2/' } } dependencies { classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.21.2' + classpath 'de.marcphilipp.gradle:nexus-publish-plugin:0.4.0' } } @@ -16,7 +18,16 @@ apply plugin: 'maven-publish' apply plugin: 'signing' if(project.hasProperty('ossrhUser') && project.hasProperty("release")) { + apply plugin: "io.codearte.nexus-staging" apply plugin: "de.marcphilipp.nexus-publish" + + nexusStaging { + packageGroup = 'org.mini2Dx' + username = ossrhUser + password = ossrhPassword + numberOfRetries = 30 + delayBetweenRetriesInMillis = 5000 + } } group = 'org.mini2Dx' @@ -122,5 +133,9 @@ if(project.hasProperty('ossrhUser') && project.hasProperty("release")) { } } } + + signing { + sign publishing.publications + } } }