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 mavenPublish to v0.30.0 #170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.vanniktech.maven.publish 0.25.3 -> 0.30.0 age adoption passing confidence

Release Notes

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

v0.30.0

Compare Source

  • Add support for Dokka 2.0.0-Beta
    • Supports org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
    • Supports both org.jetbrains.dokka and org.jetbrains.dokka-javadoc
    • If both are applied the javadoc output is published
    • Removed support for the old org.jetbrains.dokka-android plugin
  • Support custom Sonatype hosts by providing a https url in SONATYPE_HOST Gradle property
  • Remove usages of deprecated Gradle API that is scheduled to be removed in Gradle 9.0
  • Raised minimum supported Gradle version
  • Improve naming of javadoc jars
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.10.2
  • Android Gradle Plugin 8.7.0
  • Android Gradle Plugin 8.8.0-alpha05
  • Kotlin Gradle Plugin 2.0.20
  • Kotlin Gradle Plugin 2.1.0-Beta1
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.29.0

Compare Source

  • Added configureBasedOnAppliedPlugins(sourcesJar: Boolean, javadocJar: Boolean)
    overload that allows disabling sources and javadoc jars without having to use
    the more granular Platform APIs.
  • For Java library and Kotlin/JVM projects the Gradle module metadata now properly
    includes the sources jar.
  • When running on Gradle 8.8 or newer the pom configuration is not applied in
    afterEvaluate anymore, making manual overrides easier.
  • Fix potential issue with the javadoc jar tasks that can cause Gradle to disable
    optimizations.
  • When staging profiles can't be loaded the status code of the response is added
    to the error message.
Minimum supported versions
  • JDK 11
  • Gradle 8.1
  • Android Gradle Plugin 8.0.0
  • Kotlin Gradle Plugin 1.9.20
Compatibility tested up to
  • JDK 21
  • Gradle 8.8
  • Android Gradle Plugin 8.5.0
  • Android Gradle Plugin 8.6.0-alpha06
  • Kotlin Gradle Plugin 2.0.0
  • Kotlin Gradle Plugin 2.0.20-Beta1
Configuration cache status

Configuration cache is generally supported, except for:

  • Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #​22779.
  • Dokka does not support configuration cache

v0.28.0

Compare Source

  • Added support for publishing through the new Central Portal. To use
    this use the CENTRAL_PORTAL option when specifying the Sonatype host.
  • For Kotlin Multiplatform the main plugin will now automatically publish the
    release variant if the project has an Android target and no variant was explicitly
    specified through the Kotlin Gradle DSL.
  • Support specifying the Android variants to publish in KotlinMultiplatform(...).
  • Updated minimum supported Gradle, Android Gradle Plugin and Kotlin versions.
  • Removed support for the deprecated Kotlin/JS plugin.
  • Removed the deprecated closeAndReleaseRepository task. Use releaseRepository, which
    is functionally equivalent, instead.
Minimum supported versions
  • JDK 11
  • Gradle 8.1
  • Android Gradle Plugin 8.0.0
  • Kotlin Gradle Plugin 1.9.20
Compatibility tested up to
  • JDK 21
  • Gradle 8.6
  • Gradle 8.7-rc-3
  • Android Gradle Plugin 8.3.0
  • Android Gradle Plugin 8.4.0-alpha13
  • Kotlin Gradle Plugin 1.9.23
  • Kotlin Gradle Plugin 2.0.0-Beta4
Configuration cache status

Configuration cache is generally supported, except for:

  • Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #​22779.
  • Dokka does not support configuration cache

v0.27.0

Compare Source

  • Added new publishing related tasks
    • releaseRepository releases a staging repository at the end of the build
      and can be executed in the same build as the publishing task. This allows
      having automatic releases without permanently enabling them.
    • publishToMavenCentral as alias for running publishAllPublicationsToMavenCentralRepository.
    • publishAndReleaseToMavenCentral as alias for running both of the above.
    • For more information checkout the docs.
  • It is now possible to only pass a subset of the parameters to
    coordinates(...) and leave the others at their default value.
    Thanks to @​sschuberth for the contribution.
  • Fixed java-test-fixture projects being broken with Gradle 8.6.
  • Deprecated closeAndReleaseRepository in favor of releaseRepository.
Minimum supported versions
  • JDK 11
  • Gradle 7.6
  • Android Gradle Plugin 7.4.0
  • Kotlin Gradle Plugin 1.8.20
Compatibility tested up to
  • JDK 21
  • Gradle 8.5
  • Gradle 8.6-rc-1
  • Android Gradle Plugin 8.2.1
  • Android Gradle Plugin 8.3.0-beta01
  • Android Gradle Plugin 8.4.0-alpha03
  • Kotlin Gradle Plugin 1.9.22
  • Kotlin Gradle Plugin 2.0.0-Beta2
Configuration cache status

When using Gradle 8.1 or newer configuration cache is generally supported.

Exceptions to that are:

  • Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #​22779.
  • Dokka does not support configuration cache

v0.26.0

Compare Source

  • It's now supported to call configure(Platform) from the main plugin to modify
    what is getting published. Check out the docs for more details
  • The base plugin now has a configureBasedOnAppliedPlugins DSL method to
    allow applying the default configure logic of the main plugin.
  • Calling configure(Platform) now validates that the required plugins are
    applied (e.g. Android Gradle Plugin for Android projects).
  • It's now possible to disable source publishing for KMP projects.
  • Fixed an issue which would cause the javadoc jar task to be registered multiple
    times for Gradle plugin projects with more than one publication. Thanks to
    @​autonomousapps for the fix.
  • Publishing Kotlin/JS projects has been deprecated and will be removed in the
    next release, because the Kotlin/JS plugin has been deprecated.
  • The internal task to create a javadoc jar for certain project types has been renamed
    from simpleJavadocJar to plainJavadocJar. Thanks to @​sschuberth.
Minimum supported versions
  • JDK 11
  • Gradle 7.6
  • Android Gradle Plugin 7.4.0
  • Kotlin Gradle Plugin 1.8.20
Compatibility tested up to
  • JDK 21
  • Gradle 8.5
  • Android Gradle Plugin 8.2.0
  • Android Gradle Plugin 8.3.0-alpha17
  • Kotlin Gradle Plugin 1.9.21
  • Kotlin Gradle Plugin 2.0.0-Beta1
Configuration cache status

When using Gradle 8.1 or newer configuration cache is generally supported.

Exceptions to that are:

  • Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #​22779.
  • Dokka does not support configuration cache

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 changed the title Update plugin mavenPublish to v0.26.0 Update plugin mavenPublish to v0.27.0 Jan 6, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch from f3a5acb to c2bc55c Compare January 6, 2024 21:27
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 Update plugin mavenPublish to v0.27.0 - autoclosed Feb 1, 2024
@renovate renovate bot closed this Feb 1, 2024
@renovate renovate bot deleted the renovate/com.vanniktech.maven.publish-0.x branch February 1, 2024 18:41
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 - autoclosed Update plugin mavenPublish to v0.27.0 Feb 1, 2024
@renovate renovate bot reopened this Feb 1, 2024
@renovate renovate bot restored the renovate/com.vanniktech.maven.publish-0.x branch February 1, 2024 22:12
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 Update plugin mavenPublish to v0.27.0 - autoclosed Feb 1, 2024
@renovate renovate bot closed this Feb 1, 2024
@renovate renovate bot deleted the renovate/com.vanniktech.maven.publish-0.x branch February 1, 2024 22:23
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 - autoclosed Update plugin mavenPublish to v0.27.0 Feb 2, 2024
@renovate renovate bot reopened this Feb 2, 2024
@renovate renovate bot restored the renovate/com.vanniktech.maven.publish-0.x branch February 2, 2024 00:06
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 Update plugin mavenPublish to v0.27.0 - autoclosed Feb 2, 2024
@renovate renovate bot closed this Feb 2, 2024
@renovate renovate bot deleted the renovate/com.vanniktech.maven.publish-0.x branch February 2, 2024 07:43
@renovate renovate bot restored the renovate/com.vanniktech.maven.publish-0.x branch February 2, 2024 09:06
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 - autoclosed Update plugin mavenPublish to v0.27.0 Feb 2, 2024
@renovate renovate bot reopened this Feb 2, 2024
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 Update plugin mavenPublish to v0.27.0 - autoclosed Feb 2, 2024
@renovate renovate bot closed this Feb 2, 2024
@renovate renovate bot deleted the renovate/com.vanniktech.maven.publish-0.x branch February 2, 2024 15:20
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 - autoclosed Update plugin mavenPublish to v0.27.0 Feb 2, 2024
@renovate renovate bot reopened this Feb 2, 2024
@renovate renovate bot restored the renovate/com.vanniktech.maven.publish-0.x branch February 2, 2024 18:51
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 Update plugin mavenPublish to v0.26.0 Feb 2, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch 2 times, most recently from 4d6580e to 26c9507 Compare February 3, 2024 08:30
@renovate renovate bot changed the title Update plugin mavenPublish to v0.26.0 Update plugin mavenPublish to v0.27.0 Feb 3, 2024
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 Update plugin mavenPublish to v0.27.0 - autoclosed Feb 4, 2024
@renovate renovate bot closed this Feb 4, 2024
@renovate renovate bot deleted the renovate/com.vanniktech.maven.publish-0.x branch February 4, 2024 00:10
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 - autoclosed Update plugin mavenPublish to v0.27.0 Feb 4, 2024
@renovate renovate bot reopened this Feb 4, 2024
@renovate renovate bot restored the renovate/com.vanniktech.maven.publish-0.x branch February 4, 2024 04:26
@renovate renovate bot changed the title Update plugin mavenPublish to v0.27.0 Update plugin mavenPublish to v0.28.0 Mar 13, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch from 26c9507 to 5764cc0 Compare March 13, 2024 03:28
@renovate renovate bot changed the title Update plugin mavenPublish to v0.28.0 Update plugin mavenPublish to v0.29.0 Jun 21, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch from 5764cc0 to d70deba Compare June 21, 2024 11:26
@renovate renovate bot force-pushed the renovate/com.vanniktech.maven.publish-0.x branch from d70deba to c32cfde Compare October 13, 2024 12:22
@renovate renovate bot changed the title Update plugin mavenPublish to v0.29.0 Update plugin mavenPublish to v0.30.0 Oct 13, 2024
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