Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 6, 2025

This PR contains the following updates:

Package Change Age Confidence
com.vanniktech.maven.publish 0.30.0 -> 0.35.0 age confidence

Release Notes

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

v0.35.0

Compare Source

  • Add support for publishing Kotlin Multiplatform libraries that use com.android.kotlin.multiplatform.library.
  • Add support for validating deployments to Central Portal
  • Raise minimum Gradle version to 8.13
  • Raise minimum Android Gradle Plugin version to 8.2.2
  • Do not unconditionally disable DocLint
  • Fail publishing if SONATYPE_HOST is not set to CENTRAL_PORTAL.
  • Fix misleading error message when Android library variant is not found.
  • Downgrade transitive OkHttp version.
  • Don't check project heirarchy for POM properties when Isolated proejcts is enabled.

Thanks to @​joshfriend, @​Flowdalic and @​Goooler for their contributions to this release.

Minimum supported versions
  • JDK 11
  • Gradle 8.13
  • Android Gradle Plugin 8.2.2
  • Kotlin Gradle Plugin 1.9.20
Compatibility tested up to
  • JDK 24
  • Gradle 9.2.0
  • Gradle 9.3.0-milestone-1
  • Android Gradle Plugin 8.13.1
  • Android Gradle Plugin 9.0.0-alpha14
  • Kotlin Gradle Plugin 2.2.21
  • Kotlin Gradle Plugin 2.3.0-Beta2

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

v0.32.0

Compare Source

  • Improve names of Central Portal deployments.
  • Fix an issue where the wrong staging profile for (s01.)oss.sonatype.org was selected when publishing to Maven Central.
  • Fix incompatibility with Kotlin 1.9.x when used through compiled plugins.
  • Improve error message when not being able to detect Kotlin plugin.
  • Fix an issue with detecting whether configuration cache is enabled which lead to a not actionable error message.
  • Fix compatibility with Gradle 9.0.
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
  • Gradle 9.0-milestone-6
  • Android Gradle Plugin 8.10.0
  • Android Gradle Plugin 8.11.0-alpha10
  • Kotlin Gradle Plugin 2.1.20
  • Kotlin Gradle Plugin 2.1.21-RC2
  • Kotlin Gradle Plugin 2.2.0-Beta2
Configuration cache status

Configuration cache is generally supported, except for:

  • Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #​22779.
  • When using Dokka 1.x or Dokka 2.x without V2Enabled.

v0.31.0

Compare Source

  • Add support for publishing snapshots to Central Portal.
    • Make sure to enable snapshots for your namespace on central.sonatype.com.
    • Thanks to @​solrudev for the contribution.
  • Add support for multiple matching staging profiles by taking the one with the longest matching prefix.
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 23
  • Gradle 8.13
  • Android Gradle Plugin 8.9.0
  • Android Gradle Plugin 8.10.0-alpha07
  • Kotlin Gradle Plugin 2.1.10
  • Kotlin Gradle Plugin 2.1.20-RC
Configuration cache status

Configuration cache is generally supported, except for:

  • Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #​22779.
  • When using Dokka 1.x or Dokka 2.x without V2Enabled.

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 is behind base branch, 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 changed the title chore(deps): update dependency com.vanniktech.maven.publish to v0.31.0 chore(deps): update dependency com.vanniktech.maven.publish to v0.31.0 - autoclosed Mar 14, 2025
@renovate renovate bot closed this Mar 14, 2025
@renovate renovate bot deleted the renovate/mavenpublish branch March 14, 2025 04:00
@renovate renovate bot changed the title chore(deps): update dependency com.vanniktech.maven.publish to v0.31.0 - autoclosed chore(deps): update dependency com.vanniktech.maven.publish to v0.31.0 Mar 14, 2025
@renovate renovate bot reopened this Mar 14, 2025
@renovate renovate bot force-pushed the renovate/mavenpublish branch 4 times, most recently from 135ca72 to bd4099f Compare March 20, 2025 18:43
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from 4b704cb to 5d292cc Compare April 1, 2025 19:38
@renovate renovate bot force-pushed the renovate/mavenpublish branch 3 times, most recently from 3c61e26 to 68223fc Compare April 10, 2025 03:01
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 68223fc to f50651e Compare April 17, 2025 19:10
@renovate renovate bot force-pushed the renovate/mavenpublish branch from f50651e to f3a73a6 Compare April 25, 2025 20:32
@renovate renovate bot force-pushed the renovate/mavenpublish branch 3 times, most recently from 919e122 to 7766f86 Compare May 13, 2025 22:24
@renovate renovate bot changed the title chore(deps): update dependency com.vanniktech.maven.publish to v0.31.0 chore(deps): update dependency com.vanniktech.maven.publish to v0.32.0 May 14, 2025
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 7766f86 to 476f95f Compare May 14, 2025 18:55
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from 32db999 to 2fa06f3 Compare May 28, 2025 03:09
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from b82dd18 to 4b0501c Compare June 7, 2025 00:13
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from 4fee011 to e225e3d Compare June 13, 2025 17:44
@renovate renovate bot changed the title chore(deps): update dependency com.vanniktech.maven.publish to v0.32.0 chore(deps): update dependency com.vanniktech.maven.publish to v0.33.0 Jun 22, 2025
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from 933d53a to a0bc475 Compare June 28, 2025 21:27
@renovate renovate bot force-pushed the renovate/mavenpublish branch 3 times, most recently from 60911b9 to 3437bd5 Compare July 4, 2025 21:58
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 3437bd5 to d27075e Compare July 14, 2025 12:28
@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 d27075e to 416cc5a Compare July 26, 2025 22:09
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from 35df556 to eb5a681 Compare August 12, 2025 21:02
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from 1715e09 to 6405aed Compare August 15, 2025 21:44
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 6405aed to 58214fb Compare August 22, 2025 19:00
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 58214fb to fb07be0 Compare September 8, 2025 01:04
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from caf01ab to 5185136 Compare September 23, 2025 01:20
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 5185136 to 7a99bd9 Compare October 1, 2025 01:58
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 7a99bd9 to dbf314f Compare October 8, 2025 05:13
@renovate renovate bot force-pushed the renovate/mavenpublish branch 2 times, most recently from 3168592 to 9506d8b Compare October 15, 2025 18:04
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 9506d8b to 08ba6d6 Compare October 25, 2025 18:13
@renovate renovate bot changed the title chore(deps): update dependency com.vanniktech.maven.publish to v0.34.0 chore(deps): update dependency com.vanniktech.maven.publish to v0.35.0 Nov 11, 2025
@renovate renovate bot force-pushed the renovate/mavenpublish branch from 08ba6d6 to acf3909 Compare November 11, 2025 22:28
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.

1 participant