|
1 | 1 | # Change Log
|
2 | 2 |
|
| 3 | +Version 0.20.0 *(2022-06-02)* |
| 4 | +--------------------------------- |
| 5 | + |
| 6 | +**Upcoming behavior change** |
| 7 | + |
| 8 | +In the next release after this the `com.vanniktech.maven.publish` will stop adding Maven Central (Sonatype OSS) as a |
| 9 | +publishing target and will not enable GPG signing by default. If you are curretly relying on this behavior the plugin |
| 10 | +will print a warning during configuration phase. To continue publishing to maven central and signing artifacts either |
| 11 | +add this to your build files: |
| 12 | +```gradle |
| 13 | +mavenPublishing { |
| 14 | + publishToMavenCentral() // use publishToMavenCentral("S01") for publishing through s01.sonatype.org |
| 15 | + enableReleaseSigning() |
| 16 | +} |
| 17 | +``` |
| 18 | +or the following to your `gradle.properties`: |
| 19 | +```gradle |
| 20 | +SONATYPE_HOST=DEFAULT |
| 21 | +# SONATYPE_HOST=S01 for publishing through s01.sonatype.org |
| 22 | +RELEASE_SIGNING_ENABLED=true |
| 23 | +``` |
| 24 | + |
| 25 | +The base plugin is unaffected by these changes because it already has this behavior. |
| 26 | + |
| 27 | +**Deprecation** |
| 28 | + |
| 29 | +The old `mavenPublish` extension has been deprecated. |
| 30 | + |
| 31 | +If you were using it to set `sonatypeHost` to `S01` use |
| 32 | +```gradle |
| 33 | +mavenPublishing { |
| 34 | + publishToMavenCentral("S01") |
| 35 | +} |
| 36 | +``` |
| 37 | +instead or add `SONATYPE_HOST=S01` to your gradle.properties. |
| 38 | + |
| 39 | +If `sonatypeHost` was used to disable adding Maven Central as a publishing target add `SONATYPE_HOST=` until 0.21.0 is out and this becomes the default behavior. |
| 40 | + |
| 41 | +If you set `releaseSigningEnabled` to false add `RELEASE_SIGNING_ENABLED=false` to your gradle.properties until 0.21.0 is out and this becomes the default behavior. |
| 42 | + |
| 43 | + |
| 44 | +**New** |
| 45 | + |
| 46 | +Added support to set the following pom values through properties (thanks to @jaredsburrows for the contribution) |
| 47 | +- `POM_ISSUE_SYSTEM` sets `issueManagement.system` |
| 48 | +- `POM_ISSUE_URL` sets `issueManagement.url` |
| 49 | +- `POM_DEVELOPER_EMAIL` sets `developer.email` |
| 50 | + |
| 51 | +**Fixed** |
| 52 | + |
| 53 | +- resolved an issue in Kotlin Multiplatform projects that apply `com.android.library` that caused no sources jars to be published |
| 54 | +- resolved an issue in Kotlin Multiplatform projects that apply `com.android.library` using AGP versions before 7.1.2 that caused the project to be published as a pure Android library |
| 55 | +- fixed and improved error messages for `closeAndReleaseRepository` |
| 56 | + |
3 | 57 | Version 0.19.0 *(2022-02-26)*
|
4 | 58 | ---------------------------------
|
5 | 59 |
|
|
0 commit comments