forked from scala-ts/scala-ts
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
34 lines (30 loc) · 992 Bytes
/
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
import sbt.Keys._
lazy val publishSettings = Seq(
publishMavenStyle := true,
publishTo := {
val nexus = "https://nexus.elium.io/repository/"
if (isSnapshot.value)
Some("Snapshots" at nexus + "maven-snapshots")
else
Some("Releases" at nexus + "maven-releases")
},
credentials += Credentials(new File("/root") / ".ivy2" / ".credentials"),
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
)
lazy val projectSettings = Seq(
name := "scala-ts",
version := "1.0.4-newtypes-rc3-SNAPSHOT",
organization := "com.github.miloszpp",
scalaVersion := "2.12.6",
mainClass in (Compile, run) := Some("com.mpc.scalats.Main"),
sbtPlugin := true,
sbtVersion := "1.1.5"
)
lazy val root = project
.in(file("."))
.settings(projectSettings, publishSettings)
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % "2.12.6",
"ch.qos.logback" % "logback-classic" % "1.2.3",
"org.scalatest" %% "scalatest" % "3.0.5" % "test"
)