forked from knutwalker/NtParser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
55 lines (50 loc) · 1.6 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
organization in ThisBuild := "de.knutwalker"
homepage in ThisBuild := Some(url("https://github.com/knutwalker/ntparser"))
licenses in ThisBuild += "Apache License, Verison 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")
scmInfo in ThisBuild := Some(ScmInfo(url("https://github.com/knutwalker/ntparser"), "scm:git:https://github.com/knutwalker/ntparser.git", Some("scm:git:ssh://[email protected]:knutwalker/ntparser.git")))
startYear in ThisBuild := Some(2014)
scalacOptions in ThisBuild ++= List(
"-deprecation",
"-encoding", "UTF-8",
"-explaintypes",
"-feature",
"-language:existentials",
"-language:higherKinds",
"-language:implicitConversions",
"-optimise",
"-unchecked",
"-Xcheckinit",
"-Xfatal-warnings",
"-Xfuture",
"-Xlint",
"-Yclosure-elim",
"-Ydead-code",
"-Yinline",
"-Yinline-handlers",
"-Yinline-warnings",
"-Yno-adapted-args",
"-Ywarn-adapted-args",
"-Ywarn-inaccessible",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ywarn-numeric-widen"
)
publishMavenStyle in ThisBuild := true
publishArtifact in ThisBuild in Test := false
pomIncludeRepository in ThisBuild := { _ => false }
publishTo in ThisBuild := {
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")
}
pomExtra in ThisBuild :=
<developers>
<developer>
<id>knutwalker</id>
<name>Paul Horn</name>
<url>http://knutwalker.de/</url>
</developer>
</developers>
SonatypeKeys.profileName in ThisBuild := "knutwalker"