Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.2 #2374
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.18.0
->0.25.2
Release Notes
vanniktech/gradle-maven-publish-plugin
v0.25.2
Compare Source
v0.25.1
Compare Source
v0.25.0
Compare Source
createStagingRepository
task now uses the worker API which allows the project to builtin parallel to the creation of the staging repository.
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
constructorwith a
sourcesJar
parameter has been deprecated.java-test-fixtures
projectscom.gradle.plugin-publish
1.0.0 and 1.1.0com.gradle.plugin-publish
1.0.0common
sources jar for multiplatform projects will only containthe 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:
v0.24.0
Compare Source
v0.23.2
Compare Source
The plugin will also fallback to any staging profile that has a matching prefix with the group id.
java-test-fixtures
projects,project.group
and
project.version
are now being set again for those projects. #490v0.23.1
Compare Source
java-test-fixtures
plugin in Kotlin/JVM projects.java-test-fixtures
.v0.23.0
Compare Source
Updated docs can be found on the new website.
project.group
andproject.version
will still be used as default values for group and version if theGROUP
/VERSION_NAME
Gradle properties do not exist andcoordinates
was not called, however there are 2behavior changes:
GROUP
andVERSION_NAME
Gradle properties take precedence overproject.group
andproject.version
insteadof being overwritten by them. If you need to define the properties but replace them for some projects,
please use the new
coordinates
method instead.GROUP
andVERSION_NAME
Gradle properties will not be explicitly set asproject.group
andproject.version
anymore.dropRepository
task that will drop a Sonatype staging repository. It is possible to specifywhich repository to drop by adding a
--repository
parameter with the id of the staging repository that wasprinted during
publish
. If no repository is specified and there is only one staging repository, that onewill be dropped.
java-test-fixtures
pluginv0.22.0
Compare Source
SONATYPE_HOST
or callingpublishToMavenCentral(...)
the plugin will now explicitly create a staging repository on Sonatype. This avoids issues where a single build would create multiple repositories--no-parallel
and--no-daemon
together withpublish
publish
orpublishAllPublicationsToMavenCentralRepository
tasks the plugin will automatically close the staging repository at the end of the build if it was successful.or
closeAndReleaseRepository
task is not needed anymorecom.gradle.plugin-publish
pluginv0.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 apublishing 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
v0.20.0
Compare Source
Upcoming behavior change
In the next release after this the
com.vanniktech.maven.publish
will stop adding Maven Central (Sonatype OSS) as apublishing target and will not enable GPG signing by default. If you are currently relying on this behavior the plugin
will print a warning during configuration phase. To continue publishing to maven central and signing artifacts either
add this to your build files:
or the following to your
gradle.properties
:v0.19.0
Compare Source
of a library unless
androidVariantToPublish
was set in the DSL. This means that for example bothdebug
andrelease
or all flavors.
androidVariantToPublish
. In the future the main plugin will always publish all variants of an Androidlibrary. If you need to publish only one variant or a subset take a look at the base plugin
APIs.
AndroidSingleVariantLibrary
andAndroidMultiVariantLibrary
options that use the new AGP 7.1APIs under the hood.
AndroidLibrary
option in favor of the abovecom.vanniktech:nexus:<version>
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 Mend Renovate. View repository job log here.