forked from nbd-wtf/immortan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
65 lines (60 loc) · 2.19 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
61
62
63
64
65
name := "immortan"
version := "0.7.13-SNAPSHOT"
scalaVersion := "2.13.8"
organization := "finance.standardsats"
homepage := Some(url("https://github.com/fiatjaf/immortan"))
scmInfo := Some(
ScmInfo(
url("https://github.com/standardsats/immortan"),
"[email protected]:standardsats/immortan.git"
)
)
licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
developers := List(
Developer(
id = "standardsats",
name = "standardsats",
email = "[email protected]",
url = url("https://standardsats.github.io")
),
Developer(
id = "fiatjaf",
name = "fiatjaf",
email = "[email protected]",
url = url("https://fiatjaf.com/")
),
Developer(
id = "akumaigorodski",
name = "akumaigorodski",
email = "[email protected]",
url = url("https://sbw.app/")
)
)
libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "31.1-jre",
"org.scala-lang.modules" % "scala-parser-combinators_2.13" % "2.1.0",
"fr.acinq.secp256k1" % "secp256k1-kmp-jni-jvm" % "0.6.4",
"org.scodec" % "scodec-core_2.13" % "1.11.9",
"commons-codec" % "commons-codec" % "1.10",
"io.reactivex" % "rxscala_2.13" % "0.27.0",
"org.json4s" % "json4s-native_2.13" % "3.6.7",
"io.spray" % "spray-json_2.13" % "1.3.5",
"io.netty" % "netty-all" % "4.1.42.Final",
"com.softwaremill.quicklens" % "quicklens_2.13" % "1.8.4",
"org.bouncycastle" % "bcprov-jdk15to18" % "1.68",
"com.lihaoyi" % "castor_2.13" % "0.2.1",
"io.lemonlabs" % "scala-uri_2.13" % "4.0.2",
"com.lihaoyi" % "utest_2.13" % "0.7.11" % Test,
"com.lihaoyi" % "requests_2.13" % "0.7.0" % Test,
"org.xerial" % "sqlite-jdbc" % "3.27.2.1" % Test
)
scalacOptions ++= Seq("-deprecation", "-feature")
testFrameworks += new TestFramework("utest.runner.Framework")
// maven magic, see https://github.com/makingthematrix/scala-suffix/tree/56270a6b4abbb1cd1008febbd2de6eea29a23b52#but-wait-thats-not-all
Compile / packageBin / packageOptions += Package.ManifestAttributes(
"Automatic-Module-Name" -> "immortan"
)
pgpSigningKey := Credentials.forHost(credentials.value, "gpg").map(_.userName)
publishTo := sonatypePublishToBundle.value
sonatypeCredentialHost := "s01.oss.sonatype.org"
publishMavenStyle := true