Bump com.vanniktech.maven.publish from 0.19.0 to 0.22.0
Bumps com.vanniktech.maven.publish from 0.19.0 to 0.22.0.
Changelog
Sourced from com.vanniktech.maven.publish's changelog.
Version 0.22.0 (2022-09-09)
- NEW: When publishing to maven central by setting
SONATYPE_HOSTor callingpublishToMavenCentral(...)the plugin will now explicitly create a staging repository on Sonatype. This avoids issues where a single build would create multiple repositories- The above change means that the plugin supports parallel builds and it is not neccessary anymore to use
--no-paralleland--no-daemontogether withpublish- NEW: When publishing with the
publishorpublishAllPublicationsToMavenCentralRepositorytasks the plugin will automatically close the staging repository at the end of the build if it was successful.- NEW: Option to also automatically release the staging repository after closing was susccessful
SONATYPE_HOST=DEFAULT # or S01 SONATYPE_AUTOMATIC_RELEASE=trueor
mavenPublishing { publishToMavenCentral("DEFAULT", true) // or publishToMavenCentral("S01", true) }
- in case the option above is enabled, the
closeAndReleaseRepositorytask is not needed anymore- when closing the repository fails the plugin will fail the build immediately instead of timing out
- when closing the repository fails the plugin will try to print the error messages from Nexus
- increased timeouts for calls to the Sonatype Nexus APIs
- fixed incompatibility with the
com.gradle.plugin-publishplugin- added wokaround for Kotlin multiplatform builds reporting disabled build optimizations
Version 0.21.0 (2022-07-11)
Minimum supported Gradle version is now 7.2.0
Minimum supported Android Gradle Plugin versions are now 7.1.2, 7.2.0-beta02 and 7.3.0-alpha01
Behavior changes
The
com.vanniktech.maven.publishstops 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 the following to yourgradle.properties:SONATYPE_HOST=DEFAULT # SONATYPE_HOST=S01 for publishing through s01.oss.sonatype.org RELEASE_SIGNING_ENABLED=trueor add this to your Groovy build files:
mavenPublishing { publishToMavenCentral() // publishToMavenCentral("S01") for publishing through s01.oss.sonatype.org signAllPublications() }
... (truncated)
Commits
7df14f3Prepare for release 0.22.03dd754aUse version catalog to manage dependencies to make renovate work again (#412)0dc4587prepare changelog for next release (#411)0db5be2drop repository when build fails (#410)19a8631retrieve activity messages when closing repository fails (#409)d28e119Use composite builds instead of buildSrc (#408)5e48420Create nexus lazily to avoid an error when properties aren't set (#405)86b2c8fworkaround issues with the signing setup (#404)c143338automatically close the created repository and optionally also release it (#403)482502ddetect when closing the repository failed (#402)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
:exclamation: No coverage uploaded for pull request base (
3.x@a533700). Click here to learn what that means. Patch has no changes to coverable lines.
Additional details and impacted files
@@ Coverage Diff @@
## 3.x #165 +/- ##
======================================
Coverage ? 83.96%
Complexity ? 2187
======================================
Files ? 388
Lines ? 16473
Branches ? 1906
======================================
Hits ? 13831
Misses ? 2000
Partials ? 642
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Superseded by #171.