-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
60 lines (48 loc) · 2.21 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name := "bittrex-client"
organization := "com.github.taintech"
version := "0.3-SNAPSHOT"
scalaVersion := "2.12.4"
mainClass in (Compile, run) := Some("com.taintech.bittrex.Main")
val akkaVersion = "2.5.11"
val akkaHTTPVersion = "10.1.0-RC2"
val scalaTestVersion = "3.0.5"
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.2.3",
"com.typesafe.scala-logging" %% "scala-logging" % "3.8.0",
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-stream" % akkaVersion,
"com.typesafe.akka" %% "akka-http" % akkaHTTPVersion,
"io.argonaut" %% "argonaut" % "6.2.1",
"org.bouncycastle" % "bcpkix-jdk15on" % "1.59",
"com.github.pureconfig" %% "pureconfig" % "0.9.0",
"org.scalactic" %% "scalactic" % scalaTestVersion % Test,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-stream-testkit" % akkaVersion % Test,
"com.typesafe.akka" %% "akka-http-testkit" % akkaHTTPVersion % Test,
"org.scalatest" %% "scalatest" % scalaTestVersion % Test
)
val username = "taintech"
val repo = "bittrex-scala-client"
val usernameRepo = s"$username/$repo"
homepage := Some(url(s"https://github.com/$usernameRepo"))
developers := List(
Developer(
id = username,
name = "Rinat Tainov",
email = "[email protected]",
url = new URL(s"http://github.com/$username")
)
)
scmInfo := Some(ScmInfo(url(s"https://github.com/$usernameRepo"), s"[email protected]:$usernameRepo.git"))
releasePublishArtifactsAction := PgpKeys.publishSigned.value
publishMavenStyle := true
publishArtifact in Test := false
publishTo := Some(
if (isSnapshot.value) Opts.resolver.sonatypeSnapshots
else Opts.resolver.sonatypeStaging
)
credentials ++= (for {
username <- sys.env.get("SONATYPE_USERNAME")
password <- sys.env.get("SONATYPE_PASSWORD")
} yield Credentials("Sonatype Nexus Repository Manager", "oss.sonatype.org", username, password)).toSeq
licenses := Seq("MIT" -> url(s"https://github.com/$usernameRepo/blob/master/LICENSE"))