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 #186

Merged
merged 3 commits into from
Sep 19, 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.

@juul-mobile-bot juul-mobile-bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch from 6ff1b28 to cf6b03d Compare September 16, 2022 09:13
@github-actions
Copy link

github-actions bot commented Sep 16, 2022

Test Results

14 files  14 suites   12s ⏱️
45 tests 45 ✔️ 0 💤 0
90 runs  90 ✔️ 0 💤 0

Results for commit 5c1187d.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Sep 16, 2022

Codecov Report

Merging #186 (5c1187d) into main (8c86321) will increase coverage by 9.44%.
The diff coverage is 72.44%.

@@             Coverage Diff              @@
##               main     #186      +/-   ##
============================================
+ Coverage     70.47%   79.91%   +9.44%     
- Complexity       67       90      +23     
============================================
  Files            31       25       -6     
  Lines           918     1240     +322     
  Branches         83      124      +41     
============================================
+ Hits            647      991     +344     
+ Misses          236      190      -46     
- Partials         35       59      +24     
Impacted Files Coverage Δ
color/src/commonMain/kotlin/NextColor.kt 75.00% <ø> (ø)
kanvas/src/commonMain/kotlin/svg/PathString.kt 0.00% <0.00%> (-43.59%) ⬇️
shape/src/commonMain/kotlin/curve/Linear.kt 0.00% <0.00%> (ø)
kanvas/src/commonMain/kotlin/Ellipse.kt 81.25% <25.00%> (-4.47%) ⬇️
kanvas/src/commonMain/kotlin/Clip.kt 66.66% <40.00%> (+6.66%) ⬆️
...vas/src/commonMain/kotlin/svg/PathStringBuilder.kt 56.00% <56.00%> (ø)
kanvas/src/commonMain/kotlin/SegmentedPath.kt 58.76% <58.76%> (ø)
color/src/commonMain/kotlin/Color.kt 89.47% <83.33%> (+1.23%) ⬆️
kanvas/src/commonMain/kotlin/svg/StringToPath.kt 83.53% <83.53%> (ø)
kanvas/src/commonMain/kotlin/svg/SvgKanvas.kt 60.13% <85.71%> (+9.19%) ⬆️
... and 20 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:26
@twyatt twyatt merged commit d976958 into main Sep 19, 2022
@twyatt twyatt deleted the renovate/com.vanniktech.maven.publish-0.x branch September 19, 2022 16:33
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