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 dependency com.vanniktech:gradle-maven-publish-plugin to v0.30.0 #98

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 11, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.vanniktech:gradle-maven-publish-plugin 0.20.0 -> 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

v0.25.3

Compare Source

  • Gradle 8.2: Fix error for projects that use the java-test-fixtures plugin.
  • Fix issue for Kotlin Multiplatform projects when running tests and having signing enabled.

v0.25.2

Compare Source

  • Fix javadoc jar being empty when using dokka.

v0.25.1

Compare Source

  • Fix snapshot publishing being broken.

v0.25.0

Compare Source

  • The createStagingRepository task now uses the worker API which allows the project to built
    in parallel to the creation of the staging repository.
  • Fix incompatibility with Kotlin 1.8.20-Beta for Kotlin/JS projects. The Kotlin/JS plugin is now taking
    care of creating the sources jar on its own. Because of this the base plugin won't allow disabling
    sources jar creation for Kotlin/JS projects anymore starting with 1.8.20. The KotlinJs constructor
    with a sourcesJar parameter has been deprecated.
  • Fix incompatibility with Gradle 8.1 for java-test-fixtures projects
  • Fix incompatibility with com.gradle.plugin-publish 1.0.0 and 1.1.0
  • New minimum supported versions:
    • Gradle 7.4
    • Android Gradle Plugin 7.3.0
    • Kotlin Gradle Plugin 1.7.0
    • com.gradle.plugin-publish 1.0.0
  • Note: Starting with Kotlin 1.8.20-Beta the common sources jar for multiplatform projects will only contain
    the sources of the common source set instead of containing the sources from all source sets.
Configuration cache status

Configuration cache is supported starting with Gradle 7.6+ except for:

  • Builds with enabled signing, will be resolved in Gradle 8.1.
  • Publishing releases to Maven Central (snapshots are fine), blocked by Gradle issue #​22779.
  • Kotlin Multiplatform projects, blocked by KT-49933.

v0.24.0

Compare Source

  • Support arbitrary Sonatype hosts instead of just oss.sonatype.org and s01.oss.sonatype.org.
  • Support adjusting timeouts for Sonatype related requests and operations. See docs
  • Internal change on how the sources jar is created.

v0.23.2

Compare Source

  • Fix signing when using Gradle 8.0.
  • Finding a matching staging profile in Sonatype is more lenient. If there is just one that one will always be used.
    The plugin will also fallback to any staging profile that has a matching prefix with the group id.
  • As a workaround for an issue in Gradle that causes invalid module metadata for java-test-fixtures projects, project.group
    and project.version are now being set again for those projects. #​490

v0.23.1

Compare Source

  • Also support publishing sources for the java-test-fixtures plugin in Kotlin/JVM projects.
  • Suppress Gradle warnings when publishing a project that uses java-test-fixtures.

v0.23.0

Compare Source

Updated docs can be found on the new website.

  • NEW: It is now possible to set group id, artifact id directly through the DSL
    mavenPublishing {
      coordinates("com.example", "library", "1.0.3")
    }
  • project.group and project.version will still be used as default values for group and version if the
    GROUP/VERSION_NAME Gradle properties do not exist and coordinates was not called, however there are 2
    behavior changes:
    • The GROUP and VERSION_NAME Gradle properties take precedence over project.group and project.version instead
      of being overwritten by them. If you need to define the properties but replace them for some projects,
      please use the new coordinates method instead.
    • The GROUP and VERSION_NAME Gradle properties will not be explicitly set as project.group and
      project.version anymore.
  • NEW: Added dropRepository task that will drop a Sonatype staging repository. It is possible to specify
    which repository to drop by adding a --repository parameter with the id of the staging repository that was
    printed during publish. If no repository is specified and there is only one staging repository, that one
    will be dropped.
  • Added workaround to also publish sources for the java-test-fixtures plugin
  • Fixed publishing Kotlin/JS projects with the base plugin.
  • Fixed that a POM configured through the DSL is incomplete when publishing Gradle plugins.
  • The minimum supported Gradle version has been increased to 7.3.
  • The plugin now requires using JDK 11+ to run Gradle.

v0.22.0

Compare Source

  • NEW: When publishing to maven central by setting SONATYPE_HOST or calling publishToMavenCentral(...) the plugin will now explicitly create a staging repository on Sonatype. This avoids issues where a single build would create multiple repositories
  • The above change means that the plugin supports parallel builds and it is not neccessary anymore to use --no-parallel and --no-daemon together with publish
  • NEW: When publishing with the publish or publishAllPublicationsToMavenCentralRepository tasks the plugin will automatically close the staging repository at the end of the build if it was successful.
  • NEW: Option to also automatically release the staging repository after closing was susccessful
SONATYPE_HOST=DEFAULT # or S01
SONATYPE_AUTOMATIC_RELEASE=true

or

mavenPublishing {
  publishToMavenCentral("DEFAULT", true)
  // or publishToMavenCentral("S01", true)
}
  • in case the option above is enabled, the closeAndReleaseRepository task is not needed anymore
  • when closing the repository fails the plugin will fail the build immediately instead of timing out
  • when closing the repository fails the plugin will try to print the error messages from Nexus
  • increased timeouts for calls to the Sonatype Nexus APIs
  • fixed incompatibility with the com.gradle.plugin-publish plugin
  • added wokaround for Kotlin multiplatform builds reporting disabled build optimizations (see KT-46466)

v0.21.0

Compare Source

Minimum supported Gradle version is now 7.2.0

Minimum supported Android Gradle Plugin versions are now 7.1.2, 7.2.0-beta02 and 7.3.0-alpha01

Behavior changes

The com.vanniktech.maven.publish stops adding Maven Central (Sonatype OSS) as a
publishing target and will not enable GPG signing by default. To continue publishing to maven central and signing artifacts either add the following to your gradle.properties:

SONATYPE_HOST=DEFAULT

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 a13b406 to 4475095 Compare August 20, 2022 20:06
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 4475095 to a7c0548 Compare August 29, 2022 05:21
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.21.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Sep 10, 2022
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from a7c0548 to d506698 Compare September 10, 2022 05:34
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from d506698 to 94f50fc Compare September 30, 2022 10:29
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 - autoclosed Oct 6, 2022
@renovate renovate bot closed this Oct 6, 2022
@renovate renovate bot deleted the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch October 6, 2022 19:47
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 - autoclosed Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Oct 6, 2022
@renovate renovate bot reopened this Oct 6, 2022
@renovate renovate bot restored the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch October 6, 2022 23:00
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 94f50fc to 2f73d5c Compare October 12, 2022 09:55
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 - autoclosed Oct 30, 2022
@renovate renovate bot closed this Oct 30, 2022
@renovate renovate bot deleted the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch October 30, 2022 11:23
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 - autoclosed Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Oct 30, 2022
@renovate renovate bot restored the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch October 30, 2022 13:58
@renovate renovate bot reopened this Oct 30, 2022
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 - autoclosed Oct 30, 2022
@renovate renovate bot closed this Oct 30, 2022
@renovate renovate bot deleted the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch October 30, 2022 17:31
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 - autoclosed Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Oct 31, 2022
@renovate renovate bot reopened this Oct 31, 2022
@renovate renovate bot restored the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch October 31, 2022 10:07
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 2f73d5c to 6eb4644 Compare January 10, 2023 11:22
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.22.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.23.1 Jan 10, 2023
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 6eb4644 to 8a2697c Compare January 11, 2023 07:11
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.23.1 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.23.2 Jan 18, 2023
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 8a2697c to fd89fdc Compare January 18, 2023 01:52
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from fd89fdc to 1f91451 Compare January 30, 2023 03:42
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch 2 times, most recently from fe5cc85 to 84c2100 Compare February 2, 2024 17:09
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.3 Feb 2, 2024
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.3 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.26.0 Feb 2, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch 2 times, most recently from a84b939 to 488278c Compare February 2, 2024 22:31
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.26.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Feb 2, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 488278c to 92e9fa4 Compare February 3, 2024 04:43
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.26.0 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 92e9fa4 to 9bcfe7d Compare February 3, 2024 10:47
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.26.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 9bcfe7d to ce3569a Compare February 3, 2024 14:17
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.3 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from ce3569a to a665221 Compare February 3, 2024 16:18
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.3 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from a665221 to 3d64ac4 Compare February 3, 2024 18:57
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 3d64ac4 to 515ea73 Compare February 3, 2024 23:10
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Feb 3, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 515ea73 to 2dd62aa Compare February 4, 2024 07:30
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.26.0 Feb 4, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 2dd62aa to 0056657 Compare February 4, 2024 11:32
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.26.0 Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 Feb 4, 2024
@renovate renovate bot force-pushed the renovate/com.vanniktech-gradle-maven-publish-plugin-0.x branch from 0056657 to 9932520 Compare March 12, 2024 23:05
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0 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 9932520 to 33053ce Compare June 21, 2024 11:09
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.28.0 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 33053ce to d7aeb1d Compare October 13, 2024 13:16
@renovate renovate bot changed the title Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.29.0 Update dependency com.vanniktech:gradle-maven-publish-plugin 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