Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 22, 2025

This PR contains the following updates:

Package Change Age Confidence
com.vanniktech.maven.publish 0.32.0 -> 0.34.0 age confidence

Release Notes

vanniktech/gradle-maven-publish-plugin (com.vanniktech.maven.publish)

v0.34.0

Compare Source

  • Added configuration cache support for publishing.
  • Removed support for publishing through Sonatype OSSRH since it has been shut down. See the
    0.33.0 release notes for upgrade
    instructions if you haven't upgraded yet.
    • SonatypeHost has been removed from the DSL.
    • SONATYPE_HOST only supports CENTRAL_PORTAL now. It's recommended to use the following properties instead:
      • mavenCentralPublishing=true replaces SONATYPE_HOST=CENTRAL_PORTAL.
      • mavenCentralAutomaticPublishing=true replaces SONATYPE_AUTOMATIC_RELEASE=true.
  • Update the Central Portal Publisher APIs to the latest.
  • It's now possible to mix SNAPSHOT versions and release versions when running publish tasks.
  • Fixed Gradle's deprecation warning caused by invalid URI.
  • Fixed check for the minimum supported Gradle version running too late in some cases.

Thanks to @​Goooler and @​solrudev for their contributions to this release.

Minimum supported versions
  • JDK 11
  • Gradle 8.5
  • Android Gradle Plugin 8.0.0
  • Kotlin Gradle Plugin 1.9.20
Compatibility tested up to
  • JDK 24
  • Gradle 8.14.3
  • Gradle 9.0.0-rc2
  • Android Gradle Plugin 8.11.1
  • Android Gradle Plugin 8.12.0-alpha08
  • Kotlin Gradle Plugin 2.2.0
  • Kotlin Gradle Plugin 2.2.20-Beta1

v0.33.0

Compare Source

[!CAUTION]
Sonatype OSSRH (oss.sonatype.org and s01.oss.sonatype.org) will be shut down on June 30, 2025.

Migration steps:

  1. Sign in to the Central Portal with your existing Sonatype account.
  2. Go to Namespaces and click "Migrate Namespace"
    for the relevant namespace. Confirm the migration and wait for it to complete.
  3. Optional: If you want to publish snapshots of your project tap the 3 dots next to your namespace and
    select "Enable SNAPSHOTs".
  4. Go to Account and select "Generate User Token". Use the shown
    "Username" and "Password" as values for mavenCentralUsername and mavenCentralPassword.
  5. Configure this plugin to publish to Central Portal. Either update your SONATYPE_HOST property from
    DEFAULT or S01 to CENTRAL_PORTAL or call publishToMavenCentral()/publishToMavenCentral(automaticRelease)
    without a SonatypeHost parameter.

BREAKING

  • publishToMavenCentral() and publishToMavenCentral(automaticRelease) without SonatypeHost will
    now publish through the Central Portal.
  • Deprecated overloads of publishToMavenCentral that take a SonatypeHost parameter.
  • Deprecated SonatypeHost.

New

  • Basic experimental support for com.android.fused-library. There are currently several limitations
    on the Android Gradle plugin side which make signing as well as publishing sources/javadocs not possible.

Improvements

  • Added new Gradle properties:
    • mavenCentralPublishing=true replaces SONATYPE_HOST=CENTRAL_PORTAL.
    • mavenCentralAutomaticPublishing=true replaces SONATYPE_AUTOMATIC_RELEASE=true.
    • signAllPublications=true replaces RELEASE_SIGNING_ENABLED=true.
    • Note: The old properties continue to work and there are no plans to remove them.
  • The base plugin is now compatible with isolated projects as long as pomFromGradleProperties() is not called.
  • It's possible to pass a TaskProvider to JavadocJar.Dokka.
  • Improved naming of produced -javadoc jars (locally, the name of the published artifact is unchanged).
  • Resolve issue that caused version to be read too early when publishing to Central Portal.

Thanks to @​Goooler, @​solrudev and @​sschuberth for their contributions to this release.

Minimum supported versions
  • JDK 11
  • Gradle 8.5
  • Android Gradle Plugin 8.0.0
  • Kotlin Gradle Plugin 1.9.20
Compatibility tested up to
  • JDK 24
  • Gradle 8.14.2
  • Gradle 9.0-rc1
  • Android Gradle Plugin 8.10.0
  • Android Gradle Plugin 8.11.0-rc02
  • Android Gradle Plugin 8.12.0-alpha06
  • Kotlin Gradle Plugin 2.1.21
  • Kotlin Gradle Plugin 2.2.0-RC3

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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/mavenpublish branch from 67faf1c to 9f7d2d9 Compare July 14, 2025 07:55
@renovate renovate bot changed the title chore(deps): update dependency com.vanniktech.maven.publish to v0.33.0 chore(deps): update dependency com.vanniktech.maven.publish to v0.34.0 Jul 14, 2025
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 9f7d2d9 to e1f1569 Compare August 10, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants