forked from scala-ts/scala-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
51 lines (48 loc) · 1.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
import sbt.Keys._
lazy val pomSettings = Seq(
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
publishArtifact in Test := false,
pomExtra :=
<url>https://github.com/miloszpp/scala-ts</url>
<licenses>
<license>
<name>MIT</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:miloszpp/scala-ts.git</url>
<connection>scm:git:[email protected]:miloszpp/scala-ts.git</connection>
</scm>
<developers>
<developer>
<id>miloszpp</id>
<name>Miłosz Piechocki</name>
<url>http://codewithstyle.info</url>
</developer>
</developers>
)
lazy val root = (project in file(".")).
settings(
name := "scala-ts",
version := "0.4.0",
organization := "com.github.miloszpp",
scalaVersion := "2.10.6",
mainClass in (Compile, run) := Some("com.mpc.scalats.Main"),
sbtPlugin := true,
sbtVersion := "0.13.11"
).
settings(pomSettings)
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % "2.10.6",
"ch.qos.logback" % "logback-classic" % "1.1.7",
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
)