From 7dfeddb3825f472b43f0863a8f56397a55e0214a Mon Sep 17 00:00:00 2001 From: fluency03 Date: Sun, 29 Apr 2018 17:19:43 +0200 Subject: [PATCH] add sbt-assembly --- README.md | 2 +- build.sbt | 5 ++++- project/plugins.sbt | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd6e0c2..040f8a4 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ REST API service is built on the open source projects [akka](https://github.com/ API Documentation on Postman: [blockchain-in-scala](https://documenter.getpostman.com/view/1231202/blockchain-in-scala/RVu8iTUP) -Start the service, run the following Class: +Start the service, run this Class: ``` com.fluency03.blockchain.api.Server diff --git a/build.sbt b/build.sbt index ebd2f83..5e54ee7 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,7 @@ organization := "com.fluency03" name := "blockchain-in-scala" -version := "0.0.2" +version := "0.0.6" scalaVersion := "2.12.0" @@ -43,3 +43,6 @@ libraryDependencies ++= { "org.bouncycastle" % "bcprov-jdk15on" % "1.59" ) } ++ httpDependencies ++ testDependencies + + +mainClass in assembly := Some("com.fluency03.blockchain.api.Server") diff --git a/project/plugins.sbt b/project/plugins.sbt index 5c39736..b34f37d 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -6,3 +6,4 @@ addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0") addSbtPlugin("com.artima.supersafe" %% "sbtplugin" % "1.1.3") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1") addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.2.4") +addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")