Sourced from gradle-maven-publish-plugin's changelog.
Version 0.20.0 (2022-06-02)
Upcoming behavior change
In the next release after this the
com.vanniktech.maven.publishwill stop adding Maven Central (Sonatype OSS) as a publishing target and will not enable GPG signing by default. If you are curretly 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:mavenPublishing { publishToMavenCentral() // use publishToMavenCentral("S01") for publishing through s01.oss.sonatype.org enableReleaseSigning() }or the following to your
gradle.properties:SONATYPE_HOST=DEFAULT # SONATYPE_HOST=S01 for publishing through s01.oss.sonatype.org RELEASE_SIGNING_ENABLED=trueThe base plugin is unaffected by these changes because it already has this behavior.
Deprecation
The old
mavenPublishextension has been deprecated.If you were using it to set
sonatypeHosttoS01usemavenPublishing { publishToMavenCentral("S01") }instead or add
SONATYPE_HOST=S01to your gradle.properties.If
sonatypeHostwas used to disable adding Maven Central as a publishing target addSONATYPE_HOST=until 0.21.0 is out and this becomes the default behavior.If you set
releaseSigningEnabledto false addRELEASE_SIGNING_ENABLED=falseto your gradle.properties until 0.21.0 is out and this becomes the default behavior.New
Added support to set the following pom values through properties (thanks to
@​jaredsburrowsfor the contribution)
POM_ISSUE_SYSTEMsetsissueManagement.systemPOM_ISSUE_URLsetsissueManagement.urlPOM_DEVELOPER_EMAILsetsdeveloper.emailFixed
... (truncated)
3005950 Prepare for release 0.20.0.643bea0 update changelog for 0.20.0 (https://github.com/facebook/flipper/issues/352)582f0d4 fix Kotlin MPP project not being configured when Android plugin is present (#...399b0f9 fix legacy Android setup in mpp projects (https://github.com/facebook/flipper/issues/350)c8dd40c deprecate old mavenPublish extension (https://github.com/facebook/flipper/issues/340)8e1f12d fix error message when no repo is found (https://github.com/facebook/flipper/issues/337)6134aa0 Bump actions/setup-java from 2 to 3 (https://github.com/facebook/flipper/issues/348)e6fee7c Bump actions/checkout from 2 to 3 (https://github.com/facebook/flipper/issues/349)9512622 Create dependabot.yml (https://github.com/facebook/flipper/issues/347)d03e6e5 Support more POM properties (https://github.com/facebook/flipper/issues/345)