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.
Version 0.22.0 (2022-09-09)
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
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps com.vanniktech.maven.publish from 0.19.0 to 0.23.0.
Release notes
Sourced from com.vanniktech.maven.publish's releases.
Changelog
Sourced from com.vanniktech.maven.publish's changelog.
... (truncated)
Commits
1f8a8c1
Prepare for release 0.23.0.c6d8640
typo2bc3a43e
typo70c2e66
add docs for Github packages (#481)f238378
also publish the sources of java-test-fixtures (#480)6024f4d
Update kotlin monorepo to v1.8.0 (#482)f1ba253
delete unused file2c1f3dd
add dropRepository task (#478)db9392a
set User-Agent header for requests to sonatype, second attempt (#479)6d4f65a
run all tests also with the base plugin (#477)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)