-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
48 lines (37 loc) · 1.12 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
import Dependencies._
name := "ells"
description := "Embeddable Lisp-Like Scripting"
organization := "io.github.nihirash"
organizationName := "Nihirash"
organizationHomepage := Some(url("https://github.com/nihirash"))
scalaVersion := "2.12.6"
version := "0.2.4"
scalafmtOnCompile := true
scmInfo := Some(
ScmInfo(
url("https://github.com/nihirash/ells"),
"scm:[email protected]:nihirash/ells.git"
)
)
developers := List(
Developer(
id = "nihirash",
name = "Alexander Sharihin",
email = "[email protected]",
url = url("https://github.com/nihirash")
)
)
licenses := List("MIT" -> new URL("https://opensource.org/licenses/MIT"))
homepage := Some(url("https://github.com/nihirash/ells"))
libraryDependencies ++= Seq(
scalaTest % Test,
fastParse
)
pomIncludeRepository := { _ => false }
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")
}
credentials += Credentials(Path.userHome / ".sbt" / "sonatype_credential")
publishMavenStyle := true