Skip to content

Commit 1287b77

Browse files
committed
chore: README.md update
1 parent 6c63cb2 commit 1287b77

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed

README.md

+23-3
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,29 @@ $ sdk u java 24.ea-open
2626

2727
```bash
2828
$ ./gradlew build [-Pskip.test]
29+
2930
# Run the app
3031
$ ./gradlew :backend:jvm:run
32+
33+
# Publish to local repo
34+
$ ./gradlew buildAndPublish
3135
```
3236

37+
### Publishing
38+
39+
Push a new tag to trigger the release workflow and publish the artifacts. That's it 🎉.
40+
The next version will be based on the semantic version scope (`major`, `minor`, `patch`)
41+
42+
```bash
43+
$ ./gradlew pushSemverTag "-Psemver.scope=patch"
44+
45+
# To see the current version
46+
# ./gradlew v
47+
48+
# Print the new version
49+
# ./gradlew printSemver "-Psemver.scope=patch"
50+
```
51+
3352
<details>
3453
<summary> <b>Multiplatform Targets</b></summary>
3554

@@ -246,7 +265,7 @@ $ ./gradlew :backend:jvm:run
246265
```bash
247266
$ ./gradlew publishAllPublicationsToLocalRepository
248267

249-
# Publishing to all repo except Central
268+
# Publishing to all repo except Maven Central
250269
$ ./gradlew buildAndPublish
251270

252271
# Maven Central Publishing
@@ -262,9 +281,10 @@ $ ./gradlew :backend:jvm:run
262281
$ export ORG_GRADLE_PROJECT_signingInMemoryKeyPassword=<Password>
263282
$ export ORG_GRADLE_PROJECT_signingInMemoryKey=$(gpg --export-secret-keys --armor ${ORG_GRADLE_PROJECT_signingInMemoryKeyId} | grep -v '\-\-' | grep -v '^=.' | tr -d '\n')
264283

265-
# For aggregated publication (preferred)
284+
# For aggregated publication (preferred) to Central
266285
$ ./gradlew publishAggregatedPublicationToCentralPortal
267-
# For all publications
286+
287+
# For all publications (separate publications)
268288
$ ./gradlew publishAllPublicationsToCentralPortal
269289
```
270290

gradle/build-logic/src/main/kotlin/common/PatchModuleArgProvider.kt

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import org.gradle.api.provider.Provider
66
import org.gradle.api.tasks.*
77
import org.gradle.process.CommandLineArgumentProvider
88

9+
/**
10+
* [Configure-With-JavaModules](https://kotlinlang.org/docs/gradle-configure-project.html#configure-with-java-modules-jpms-enabled)
11+
*/
912
internal class PatchModuleArgProvider(
1013
@get:Input val moduleName: Provider<String>,
1114
@InputFiles @PathSensitive(PathSensitivity.RELATIVE) val kotlinClasses: Provider<Directory>,

0 commit comments

Comments
 (0)