Skip to content

Commit

Permalink
remove "no configuration cache" references #639
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
thoutbeckers committed May 22, 2023
1 parent 502babd commit 2e75301
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,18 +105,16 @@ Don't forget to remove these when you are done.

#### Publishing locally

⚠️ Publishing is currently not compatible with the configuration cache. It can be disabled by passing `--no-configuration-cache` to Gradle.

1. Publish to local maven:

```sh
./gradlew publishToMavenLocal --no-configuration-cache
./gradlew publishToMavenLocal
```

2. Upload and publish on Maven Central:

```sh
./gradlew publishAllPublicationsToSonatypeRepository -PsigningKeyId=SIGNING_KEY_ID -PsigningPassword=SIGNING_KEY_PASSWORD -PsigningSecretKeyRingFile=SIGNING_KEY_FILE -PossrhUsername=OSSRH_USERNAME -PossrhPassword=OSSRH_PASSWORD --no-configuration-cache
./gradlew publishAllPublicationsToSonatypeRepository -PsigningKeyId=SIGNING_KEY_ID -PsigningPassword=SIGNING_KEY_PASSWORD -PsigningSecretKeyRingFile=SIGNING_KEY_FILE -PossrhUsername=OSSRH_USERNAME -PossrhPassword=OSSRH_PASSWORD
```

Where `SIGNING_KEY_ID` is the key id associated with the signing key,
Expand Down Expand Up @@ -177,3 +175,4 @@ e: org.jetbrains.kotlin.konan.KonanExternalToolFailure: The /usr/bin/xcrun comma
Go to `XCode` -> `Preferences` -> `Locations tab` -> `Command Line Tools` dropdown.

It should show none selected, so select any item.

0 comments on commit 2e75301

Please sign in to comment.