Sourced from com.vanniktech:gradle-maven-publish-plugin's releases.
0.24.0
- 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.
0.23.2
- 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-fixturesprojects,project.groupandproject.versionare now being set again for those projects. https://github.com/facebook/flipper/issues/4900.23.1
0.23.0
Sourced from com.vanniktech:gradle-maven-publish-plugin's changelog.
0.24.0 (2023-01-29)
- 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.
0.23.2 (2023-01-17)
- 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-fixturesprojects,project.groupandproject.versionare now being set again for those projects. https://github.com/facebook/flipper/issues/4900.23.1 (2022-12-30)
- Also support publishing sources for the
java-test-fixturesplugin in Kotlin/JVM projects.- Suppress Gradle warnings when publishing a project that uses
java-test-fixtures.0.23.0 (2022-12-29)
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.groupandproject.versionwill still be used as default values for group and version if theGROUP/VERSION_NAMEGradle properties do not exist andcoordinateswas not called, however there are 2 behavior changes:
- The
GROUPandVERSION_NAMEGradle properties take precedence overproject.groupandproject.versioninstead of being overwritten by them. If you need to define the properties but replace them for some projects, please use the newcoordinatesmethod instead.- The
GROUPandVERSION_NAMEGradle properties will not be explicitly set asproject.groupandproject.versionanymore.- NEW: Added
dropRepositorytask that will drop a Sonatype staging repository. It is possible to specify which repository to drop by adding a--repositoryparameter with the id of the staging repository that was printed duringpublish. 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-fixturesplugin- 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.
7faa441 Prepare changelog for release 0.24.0.95f5b4e make timeouts configurable (https://github.com/facebook/flipper/issues/508)4b43020 replace custom sources jar task (https://github.com/facebook/flipper/issues/507)744db56 Update dependency org.jlleitschuh.gradle:ktlint-gradle to v11.1.0 (https://github.com/facebook/flipper/issues/506)f041faa Open up SonatypeHost (https://github.com/facebook/flipper/issues/504)9300a2b Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.23.2 (https://github.com/facebook/flipper/issues/501)8f3edf1 Update CHANGELOG for 0.23.2.b944e0d test against Gradle 8.0-rc-2 and AGP 8.0.0-alpha11 (https://github.com/facebook/flipper/issues/499)93a2188 make finding a staging profile more lenient (https://github.com/facebook/flipper/issues/498)6686704 Update dependency com.android.tools.build:gradle to v7.4.0 (https://github.com/facebook/flipper/issues/495)