-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathbuild.sbt
44 lines (31 loc) · 1.08 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
import ReleaseTransformations._
organization := "org.konstructs"
name := "konstructs-server"
scalaVersion := "2.12.1"
licenses += ("MIT", url("http://opensource.org/licenses/MIT"))
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-language:postfixOps")
val akkaVersion = "2.4.14"
resolvers += "konstructs" at "http://dl.bintray.com/konstructs/maven"
libraryDependencies ++= Seq(
"org.konstructs" % "konstructs-server-api" % "0.2.2",
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"commons-io" % "commons-io" % "2.5",
"com.google.code.gson" % "gson" % "2.8.0",
"com.sksamuel.scrimage" %% "scrimage-core" % "2.1.8",
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
)
bintrayOrganization := Some("konstructs")
fork in run := true
releaseProcess := Seq[ReleaseStep](
checkSnapshotDependencies,
inquireVersions,
runTest,
setReleaseVersion,
commitReleaseVersion,
tagRelease,
setNextVersion,
commitNextVersion,
pushChanges
)
assemblyJarName in assembly := s"${name.value}-${version.value}.jar"
scalafmtConfig in ThisBuild := Some(file(".scalafmt.conf"))