From 1fc3a27a49b7ae3e3240f0bf8e4e4c85dd19c95e Mon Sep 17 00:00:00 2001 From: Torkel Rogstad Date: Wed, 31 Jul 2019 01:52:51 +0200 Subject: [PATCH] Add note on how to build JAR files (#663) --- build.sbt | 2 -- docs/getting-started.md | 10 +++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index ac7b2dccfd..9e517ffb7e 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,3 @@ -import sbt.Credentials -import sbt.Keys.publishTo import com.typesafe.sbt.SbtGit.GitKeys._ import scala.util.Properties diff --git a/docs/getting-started.md b/docs/getting-started.md index b9e13b0dd6..8ef25833f8 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -26,7 +26,7 @@ https://bitcoin-s.org/docs/getting-started res4: String = "bc1q7ynsz7tamtnvlmts4snrl7e98jc9d8gqwsjsr5" ``` -## Build tools +## Getting prebuilt JARs If you want to add Bitcoin-S to your project, follow the instructions for your build tool @@ -74,3 +74,11 @@ ${List.fill(3)("`").mkString /* Hacky solution to get around nesting backticks * ### Mill TODO + +## Building JARs yourself + +If you want to build Bitcoin-S JARs yourself, you need to use the +[sbt](https://www.scala-sbt.org/) build tool. Once you have sbt +installed, run `sbt publishLocal`. This places the required JAR +files in your `.ivy2/local` folder. On Linux, this is located at +`$HOME/.ivy2/local/` by default.