From dcd09de1ed84b43f269eb32fc2baf589a791d468 Mon Sep 17 00:00:00 2001 From: John Roesler Date: Wed, 23 Mar 2022 13:07:02 -0500 Subject: [PATCH] MINOR: Clarify how to publish specific projects to the local repo (#11938) The current README instruction for local publishing boils the ocean by building and installing every jar in the project with both 2.12 and 2.13. While that is some times what people want to do, they are also often trying to just build a specific jar. Reviewers: Bill Bejeck --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5e409f8dada..34b50f535ff 100644 --- a/README.md +++ b/README.md @@ -180,8 +180,8 @@ Please note for this to work you should create/update user maven settings (typic ... -### Installing the jars to the local Maven repository ### -The recommended command is: +### Installing ALL the jars to the local Maven repository ### +The recommended command to build for both Scala 2.12 and 2.13 is: ./gradlewAll publishToMavenLocal @@ -189,6 +189,12 @@ For backwards compatibility, the following also works: ./gradlewAll install +### Installing specific projects to the local Maven repository ### + + ./gradlew -PskipSigning :streams:publishToMavenLocal + +If needed, you can specify the Scala version with `-PscalaVersion=2.13`. + ### Building the test jar ### ./gradlew testJar