slackhq / slack-lints

A collection of custom Android/Kotlin lint checks we use in our Android and Kotlin code bases at Slack.
Apache License 2.0
218 stars 11 forks source link

Update plugin mavenPublish to v0.27.0 - autoclosed #202

Closed slack-oss-bot closed 6 months ago

slack-oss-bot commented 6 months ago

This PR contains the following updates:

Package Type Update Change
com.vanniktech.maven.publish plugin minor 0.25.3 -> 0.27.0

Release Notes

vanniktech/gradle-maven-publish-plugin ### [`v0.27.0`](https://togithub.com/vanniktech/gradle-maven-publish-plugin/blob/HEAD/CHANGELOG.md#​0270--2024-01-06-) [Compare Source](https://togithub.com/vanniktech/gradle-maven-publish-plugin/compare/0.26.0...0.27.0) - 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](https://vanniktech.github.io/gradle-maven-publish-plugin/central/#publishing-releases). - 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](https://togithub.com/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](https://togithub.com/gradle/gradle/issues/22779). - Dokka does not support configuration cache ### [`v0.26.0`](https://togithub.com/vanniktech/gradle-maven-publish-plugin/blob/HEAD/CHANGELOG.md#​0260--2023-12-19-) [Compare Source](https://togithub.com/vanniktech/gradle-maven-publish-plugin/compare/0.25.3...0.26.0) - 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](https://vanniktech.github.io/gradle-maven-publish-plugin/what/) - 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](https://togithub.com/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](https://togithub.com/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](https://togithub.com/gradle/gradle/issues/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.



This PR has been generated by Renovate Bot.