Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update plugin maven-publish to v0.22.0 #149

Merged
merged 4 commits into from
Sep 20, 2022

Conversation

juul-mobile-bot
Copy link
Contributor

This PR contains the following updates:

Package Type Update Change
com.vanniktech.maven.publish plugin minor 0.21.0 -> 0.22.0

Release Notes

vanniktech/gradle-maven-publish-plugin

v0.22.0

Compare Source

  • NEW: When publishing to maven central by setting SONATYPE_HOST or calling publishToMavenCentral(...) 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-parallel and --no-daemon together with publish
  • NEW: When publishing with the publish or publishAllPublicationsToMavenCentralRepository tasks 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=true

or

mavenPublishing {
  publishToMavenCentral("DEFAULT", true)
  // or publishToMavenCentral("S01", true)
}
  • in case the option above is enabled, the closeAndReleaseRepository task 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-publish plugin
  • added wokaround for Kotlin multiplatform builds reporting disabled build optimizations

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

@codecov
Copy link

codecov bot commented Sep 16, 2022

Codecov Report

Merging #149 (331151d) into main (56a59f1) will increase coverage by 0.36%.
The diff coverage is 45.45%.

❗ Current head 331151d differs from pull request most recent head 20c9628. Consider uploading reports for the commit 20c9628 to get more accurate results

@@             Coverage Diff              @@
##               main     #149      +/-   ##
============================================
+ Coverage     57.25%   57.62%   +0.36%     
  Complexity       11       11              
============================================
  Files             8        8              
  Lines           613      656      +43     
  Branches        145      145              
============================================
+ Hits            351      378      +27     
- Misses          223      239      +16     
  Partials         39       39              
Impacted Files Coverage Δ
koap/src/commonMain/kotlin/Encoder.kt 71.69% <ø> (+3.27%) ⬆️
koap/src/commonMain/kotlin/ToFormat.kt 26.31% <ø> (ø)
koap/src/commonMain/kotlin/Debug.kt 26.08% <25.00%> (-1.19%) ⬇️
koap/src/commonMain/kotlin/Message.kt 57.44% <33.33%> (-1.79%) ⬇️
koap/src/commonMain/kotlin/ByteArrayReader.kt 68.08% <66.66%> (-0.10%) ⬇️
koap/src/commonMain/kotlin/Decoder.kt 53.74% <66.66%> (+1.62%) ⬆️
koap/src/commonMain/kotlin/Header.kt 50.00% <100.00%> (ø)
... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@twyatt twyatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging, I want to make updates to configuration that this new version supports.

@twyatt twyatt enabled auto-merge (squash) September 17, 2022 17:02
@twyatt twyatt merged commit 33fd547 into main Sep 20, 2022
@twyatt twyatt deleted the renovate/com.vanniktech.maven.publish-0.x branch September 20, 2022 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants