-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
55 lines (40 loc) · 1.29 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
52
53
54
55
name := "scala-args-parser"
organization := "io.github.francoiscabrol"
version := "0.1-SNAPSHOT"
scalaVersion := "2.12.2"
crossScalaVersions := Seq("2.11.8", "2.12.2")
enablePlugins(ScalafmtPlugin)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.1" % "test" withSources() withJavadoc(),
"org.scalacheck" %% "scalacheck" % "3.0.1" % "test" withSources() withJavadoc()
)
scalacOptions := Seq("-feature", "-deprecation")
initialCommands := "import argsparser._"
/**
* PUBLISH TO SONATYPE
**/
pomIncludeRepository := { _ => false }
licenses := Seq("MIT" -> url("http://www.opensource.org/licenses/mit-license.php"))
homepage := Some(url("https://github.com/francoiscabrol/scala-args-parser"))
scmInfo := Some(
ScmInfo(
url("https://github.com/francoiscabrol/scala-args-parser"),
"scm:[email protected]:francoiscabrol/scala-args-parser.git"
)
)
developers := List(
Developer(
id = "francoiscabrol",
name = "Francois Cabrol",
email = "francois.cabrol",
url = url("https://github.com/francoiscabrol")
)
)
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")
}