Skip to content

Update plugin maven-publish to v0.36.0#1065

Open
juul-mobile-bot wants to merge 2 commits intomainfrom
renovate/com.vanniktech.maven.publish-0.x
Open

Update plugin maven-publish to v0.36.0#1065
juul-mobile-bot wants to merge 2 commits intomainfrom
renovate/com.vanniktech.maven.publish-0.x

Conversation

@juul-mobile-bot
Copy link
Copy Markdown
Contributor

@juul-mobile-bot juul-mobile-bot commented Nov 12, 2025

This PR contains the following updates:

Package Type Update Change
com.vanniktech.maven.publish plugin minor 0.34.00.36.0

Release Notes

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

v0.36.0

Compare Source

BREAKING

  • Updated minimum supported JDK, Gradle, Android Gradle Plugin and Kotlin versions.
  • Removed support for Dokka v1, it's now required to use Dokka in v2 mode.
  • Mark DirectorySignatureType internal.

Behavior changes

  • validateDeployment now has the DeploymentValidation enum as type instead of being a boolean. The default
    is now to just wait for the VALIDATED state. The previous behavior can be achieved by setting it to PUBLISHED.
    NONE can be used for disabling the validation completely.
  • When calling configure(...) manually to configure what to publish and not passing javadocJar explicity,
    the plugin now defaults to publishing an empty javadoc jar.

Features

  • Android projects now support using Dokka for javadoc creation, this will happen automatically
    when using the default options and the Dokka plugin is applied to the project.
  • Added consistent JavadocJar and SourcesJar options to configureBasedOnAppliedPlugins and to all
    applicable project types that can be passed to configure. The previous Boolean based versions have
    been deprecated.
  • When enabling Maven Central publishing through the DSL, the mavenCentralDeploymentValidation and
    mavenCentralAutomaticPublishing are used for the default values of the 2 parameters when they are not passed
    explicitly. This allows to more easily override them in certain environments.
  • When isolated projects is enabled the module/project specific gradle.properties files are now considered in
    the same way they are when isolated projects is disabled.

Improvements

  • Better error message when Maven Central credentials are missing.
Minimum supported versions
  • JDK 17
  • Gradle 9.0.0
  • Android Gradle Plugin 8.13.0
  • Kotlin Gradle Plugin 2.2.0
Compatibility tested up to
  • JDK 25
  • Gradle 9.3.0
  • Gradle 9.4.0-milestone-4
  • Android Gradle Plugin 8.13.2
  • Android Gradle Plugin 9.0.0
  • Android Gradle Plugin 9.1.0-alpha05
  • Kotlin Gradle Plugin 2.3.0
  • Kotlin Gradle Plugin 2.3.20-Beta1

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

Configuration

📅 Schedule: (UTC)

  • 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 has been generated by Renovate Bot.


Note

Low Risk
Simple dependency version bump for a build plugin with no code changes.

Overview
Updates the maven-publish Gradle plugin from 0.34.0 to 0.36.0 in gradle/libs.versions.toml. This version bump includes support for Maven Central deployment validation, improved Dokka integration for Android projects, and better error messages for missing credentials.

Reviewed by Cursor Bugbot for commit 94b2a94. Configure here.

@juul-mobile-bot juul-mobile-bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch from 04c507a to fc56a74 Compare November 18, 2025 09:41
@juul-mobile-bot juul-mobile-bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch 2 times, most recently from 88856e9 to 5455b95 Compare December 9, 2025 09:34
@juul-mobile-bot juul-mobile-bot changed the title Update plugin maven-publish to v0.35.0 Update plugin maven-publish to v0.36.0 Jan 19, 2026
@juul-mobile-bot juul-mobile-bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch 2 times, most recently from 945add7 to e98404c Compare January 26, 2026 09:43
@juul-mobile-bot juul-mobile-bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch from e98404c to 111a9db Compare January 28, 2026 09:41
@twyatt twyatt enabled auto-merge (squash) April 17, 2026 21:06
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 94b2a94. Configure here.

Comment thread gradle/libs.versions.toml
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
kotlinter = { id = "org.jmailen.kotlinter", version = "5.2.0" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.34.0" }
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.36.0" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AGP version incompatible with updated maven-publish plugin

High Severity

The maven-publish plugin v0.36.0 requires a minimum Android Gradle Plugin version of 8.13.0, but the project uses AGP 8.12.2 (the android-library plugin). This version mismatch is likely to cause build failures when the maven-publish plugin is applied alongside the Android library plugin.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 94b2a94. Configure here.

@juul-mobile-bot
Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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.

4 participants