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

fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.30.0 #280

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 19, 2023

This PR contains the following updates:

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

Release Notes

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

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 force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 4f04943 to 1ec7bf3 Compare December 19, 2023 22:22
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch 5 times, most recently from 4485dd9 to 9cc6113 Compare January 3, 2024 17:01
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 9cc6113 to c6124cd Compare January 6, 2024 20:12
@renovate renovate bot changed the title fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.26.0 fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Jan 6, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch 2 times, most recently from 8f87a9d to 49da015 Compare January 12, 2024 19:33
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 49da015 to bbafb1a Compare January 31, 2024 23:20
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch 2 times, most recently from 6340e37 to c74c7f1 Compare February 29, 2024 21:59
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from c74c7f1 to 3d25718 Compare March 4, 2024 16:31
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 3d25718 to c2cc182 Compare March 12, 2024 21:44
@renovate renovate bot changed the title fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.28.0 Mar 12, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from c2cc182 to 0ec1e81 Compare April 21, 2024 11:28
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch 2 times, most recently from 0a3d799 to dfe3681 Compare June 21, 2024 08:00
@renovate renovate bot changed the title fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.28.0 fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.29.0 Jun 21, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from dfe3681 to 09bb025 Compare July 9, 2024 12:08
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 09bb025 to c33a444 Compare September 17, 2024 15:16
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from c33a444 to 9926252 Compare October 13, 2024 13:28
@renovate renovate bot changed the title fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.29.0 fix(deps): update dependency com.vanniktech:gradle-maven-publish-plugin to v0.30.0 Oct 13, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 9926252 to 9064ab1 Compare November 19, 2024 12:16
renovate bot and others added 3 commits December 16, 2024 16:22
This allows gradle-maven-publish-plugin to access KotlinMultiplatformExtension in build-support while avoiding a plugin version conflict in the main project. The desired version of the Kotlin compiler is still used.
@drewhamilton drewhamilton force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 9064ab1 to d1b3087 Compare December 16, 2024 22:22
Copy link
Contributor Author

renovate bot commented Dec 16, 2024

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.

@@ -11,7 +11,7 @@ repositories {
}

dependencies {
implementation(libs.kotlin.gradleApi)
implementation(libs.kotlin.gradle)
Copy link
Owner

Choose a reason for hiding this comment

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

Updated this because KotlinMultiplatformExtension, needed by gradle-maven-publish-plugin, is not in the api jar. Following KT-71604.

@@ -3,8 +3,8 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.multiplatform) apply false
// Note: kotlin-jvm and kotlin-multiplatform plugins are added implicitly via build-support
Copy link
Owner

Choose a reason for hiding this comment

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

@drewhamilton drewhamilton merged commit 84e6124 into main Dec 16, 2024
6 checks passed
@drewhamilton drewhamilton deleted the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch December 16, 2024 22:42
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