File tree Expand file tree Collapse file tree 4 files changed +50
-2
lines changed
Expand file tree Collapse file tree 4 files changed +50
-2
lines changed Original file line number Diff line number Diff line change 4242 - name : Copy docs
4343 run : |
4444 cp README.md docs/index.md
45+ cp CHANGELOG.md docs/changelog.md
4546 # Update page title
4647 sed -i 's/# gradle-maven-publish-plugin/# Overview/' docs/index.md
4748 # Update plugin version
Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## 0.25.0 ** UNRELEASED**
4+
5+ - The ` createStagingRepository ` task now uses the worker API which allows the project to built
6+ in parallel to the creation of the staging repository.
7+ - Fix incompatibility with Kotlin 1.8.20-Beta for Kotlin/JS projects. The Kotlin/JS plugin is now taking
8+ care of creating the sources jar on its own. Because of this the base plugin won't allow disabling
9+ sources jar creation for Kotlin/JS projects anymore starting with 1.8.20. The ` KotlinJs ` constructor
10+ with a ` sourcesJar ` parameter has been deprecated.
11+ - Fix incompatibility with Gradle 8.1 for ` java-test-fixtures ` projects
12+ - New minimum supported versions:
13+ - Gradle 7.4
14+ - Android Gradle Plugin 7.3.0
15+ - Kotlin Gradle Plugin 1.7.0
16+ - Note: Starting with Kotlin 1.8.20-Beta the ` common ` sources jar for multiplatform projects will only contain
17+ the sources of the common source set instead of containing the sources from all source sets.
18+
19+ #### Configuration cache status
20+
21+ Configuration cache is supported starting with ** Gradle 7.6+** except for:
22+ - Builds with enabled signing, will be resolved in Gradle 8.1.
23+ - Publishing releases to Maven Central (snapshots are fine), blocked by [ Gradle issue #22779 ] ( https://github.com/gradle/gradle/issues/22779 ) .
24+ - Kotlin Multiplatform projects, blocked by [ KT-49933] ( https://youtrack.jetbrains.com/issue/KT-49933 ) .
25+
26+
327## 0.24.0 * (2023-01-29)*
428
529- Support arbitrary Sonatype hosts instead of just oss.sonatype.org and s01.oss.sonatype.org.
Original file line number Diff line number Diff line change @@ -223,7 +223,25 @@ The result will be a very long single line string that looks like this
223223lQdGBF4jUfwBEACblZV4uBViHcYLOb2280tEpr64iB9b6YRkWil3EODiiLd9JS3V...9pip+B1QLwEdLCEJA+3IIiw4qM5hnMw=
224224```
225225
226- ## Publishing
226+ ## Publishing snapshots
227+
228+ Snapshots can be published by setting the version to something ending with ` -SNAPSHOT `
229+ and then running the following Gradle task:
230+
231+ ```
232+ ./gradlew publishAllPublicationsToMavenCentral
233+ ```
234+
235+ The snapshot will be automatically available in Sonatype's
236+ [ snapshot repository] ( https://oss.sonatype.org/content/repositories/snapshots/ ) (or the
237+ [ S01 snapshot repository] ( https://s01.oss.sonatype.org/content/repositories/snapshots/ ) ) directly after the
238+ task finished.
239+
240+ Signing is not required for snapshot builds, but if the configuration is present the build
241+ will still be signed.
242+
243+
244+ ## Publishing releases
227245
228246The publishing process for Maven Central consists of several steps
229247
@@ -236,7 +254,7 @@ The publishing process for Maven Central consists of several steps
236254By running the following Gradle task the plugin will take care of steps 1 to 3 automatically:
237255
238256```
239- ./gradlew publishAllPublicationsToMavenCentral
257+ ./gradlew publishAllPublicationsToMavenCentral --no-configuration-cache
240258```
241259
242260The releasing step can be done manually by going to oss.sonatype.org (or s01.oss.sonatype.org) and
Original file line number Diff line number Diff line change @@ -12,13 +12,18 @@ theme:
1212 primary : ' cyan'
1313 accent : ' purple'
1414 features :
15+ - navigation.sections
16+ - navigation.tracking
17+ - navigation.tabs
1518 - content.tabs.link
19+ - toc.integrate
1620
1721nav :
1822 - ' index.md'
1923 - ' central.md'
2024 - ' other.md'
2125 - ' base.md'
26+ - ' changelog.md'
2227
2328markdown_extensions :
2429 - smarty
You can’t perform that action at this time.
0 commit comments