Skip to content

Commit

Permalink
Prepare for release 0.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielittner committed Jul 11, 2022
1 parent 3b9fe2d commit 41c1059
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
25 changes: 14 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
# Change Log

Version 0.21.0 *(UNRELEASED)*
Version 0.21.0 *(2022-07-11)*
---------------------------------

**Behavior changes**

The `com.vanniktech.maven.publish` stops adding Maven Central (Sonatype OSS) as a
publishing target and will not enable GPG signing by default. To continue publishing to maven central and signing artifacts either add this to your Groovy build files:
publishing target and will not enable GPG signing by default. To continue publishing to maven central and signing artifacts either add the following to your `gradle.properties`:
```properties
SONATYPE_HOST=DEFAULT
# SONATYPE_HOST=S01 for publishing through s01.oss.sonatype.org
RELEASE_SIGNING_ENABLED=true
```

or add this to your Groovy build files:
```gradle
mavenPublishing {
publishToMavenCentral() // use publishToMavenCentral("S01") for publishing through s01.oss.sonatype.org
publishToMavenCentral()
// publishToMavenCentral("S01") for publishing through s01.oss.sonatype.org
enableReleaseSigning()
}
```
the following to your kts build files:
or the following to your kts build files:
```kotlin
mavenPublishing {
publishToMavenCentral() // use publishToMavenCentral(SonatypeHost.S01) for publishing through s01.oss.sonatype.org
publishToMavenCentral()
// publishToMavenCentral(SonatypeHost.S01) for publishing through s01.oss.sonatype.org
enableReleaseSigning()
}
```
or the following to your `gradle.properties`:
```properties
SONATYPE_HOST=DEFAULT
# SONATYPE_HOST=S01 for publishing through s01.oss.sonatype.org
RELEASE_SIGNING_ENABLED=true
```

The base plugin is unaffected by these changes because it already has this behavior.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.20.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.21.0'
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.vanniktech
VERSION_NAME=0.21.0-SNAPSHOT
VERSION_NAME=0.21.0

POM_PACKAGING=jar

Expand Down

0 comments on commit 41c1059

Please sign in to comment.