From 4e4d2c64b4edd0c4b432605cbf380b9c09cf1444 Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Tue, 15 Mar 2022 13:47:08 -0400 Subject: [PATCH] Add documentation on how to skip signing task for local Maven --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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