-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
73 lines (55 loc) · 2.41 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
66
67
68
69
70
71
72
73
name := "casper-scala-sdk"
version := "1.2.1"
scalaVersion := "3.0.2"
//scalaTest framework
libraryDependencies += "org.scalactic" %% "scalactic" % "3.2.10"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.10" % "test"
libraryDependencies += "org.scalatest" %% "scalatest-funspec" % "3.2.10" % "test"
libraryDependencies += "org.scalatest" %% "scalatest-flatspec" % "3.2.10" % "test"
//fasterXml library
libraryDependencies += "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.13.0"
//bouncycastle crypto library
libraryDependencies += "org.bouncycastle" % "bcprov-jdk15on" % "1.69"
libraryDependencies += "org.bouncycastle" % "bcpkix-jdk15on" % "1.69"
libraryDependencies += "org.bouncycastle" % "bcprov-ext-jdk15on" % "1.69"
//scala cats library
libraryDependencies += "org.typelevel" %% "cats-core" % "2.6.1"
libraryDependencies += "org.scala-lang" % "scala-reflect" % "2.13.6"
//OkHttp3 library
libraryDependencies += "com.squareup.okhttp3" % "okhttp" % "4.9.2"
//apache codec library
libraryDependencies += "commons-codec" % "commons-codec" % "1.15"
libraryDependencies += "com.rfksystems" % "blake2b" % "1.0.0"
//publish
/*
ThisBuild / organization := "io.caspercommunity"
ThisBuild / organizationName := "caspercommunity"
ThisBuild / organizationHomepage := Some(url("https://caspercommunity.io/"))
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/caspercommunity/casper-scala-sdk"),
"scm:[email protected]:caspercommunityio/casper-scala-sdk"
)
)
ThisBuild / developers := List(
Developer(
id = "mabahma",
name = "mabahma",
email = "[email protected]",
url = url("https://caspercommunity.io")
)
)
ThisBuild / description := "casper scala sdk"
ThisBuild / licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT"))
ThisBuild / homepage := Some(url("https://caspercommunity.io"))
// Remove all additional repository other than Maven Central from POM
ThisBuild / pomIncludeRepository := { _ => false }
sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
ThisBuild / publishTo := {
val nexus = "https://s01.oss.sonatype.org/"
if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots")
else Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
ThisBuild / publishMavenStyle := true
*/