diff --git a/README.md b/README.md index 01d1283..574dd42 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,6 @@ dependencies { implementation 'org.bitcoindevkit:bdk-android:0.4.0' } - ``` You may then import and use the `org.bitcoindevkit` library in your Kotlin code. For example: @@ -108,6 +107,12 @@ _Note that Kotlin version `1.6.10` or later is required to build the library._ ./gradlew :android:publishToMavenLocal ``` +Note that if you do not have gpg keys set up to sign the publication, the task will fail. If you wish to publish to your local Maven repository for local testing without signing the release, you can do so by excluding the `signMavenPublication` subtask like so: +```shell +./gradlew :jvm:publishToMavenLocal --exclude-task signMavenPublication +./gradlew :android:publishToMavenLocal --exclude-task signMavenPublication +``` + ### Publish to maven central with [Gradle Nexus Publish Plugin] (project maintainers only) 1. Set your `~/.gradle/gradle.properties` signing key values and SONATYPE login