-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
47 lines (40 loc) · 1.39 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
organization := "com.nthportal"
name := "app-shell"
description := "A framework for creating shells/CLIs for an application."
val rawVersion = "1.2.0"
isSnapshot := false
version := rawVersion + {if (isSnapshot.value) "-SNAPSHOT" else ""}
scalaVersion := "2.12.1"
crossScalaVersions := Seq(
"2.12.1"
)
locally {jacoco.settings}
libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "21.+",
"org.scala-lang.modules" %% "scala-java8-compat" % "0.8.+",
"com.nthportal" %% "future-queue" % "1.+",
"org.scalatest" %% "scalatest" % "3.0.+" % Test
)
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")
}
publishMavenStyle := true
licenses := Seq("The Apache License, Version 2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/NthPortal/app-shell"))
pomExtra :=
<scm>
<url>https://github.com/NthPortal/app-shell</url>
<connection>scm:git:git@github.com:NthPortal/app-shell.git</connection>
<developerConnection>scm:git:git@github.com:NthPortal/app-shell.git</developerConnection>
</scm>
<developers>
<developer>
<id>NthPortal</id>
<name>NthPortal</name>
<url>https://github.com/NthPortal</url>
</developer>
</developers>