-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
77 lines (67 loc) · 2.78 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
lazy val `sbt-mobilizer` = project.in(file("."))
.settings(inThisBuild(Seq(
organization := "fi.onesto.sbt",
version := "0.3.0",
startYear := Option(2013),
organizationName := "Qvantel Finland Oy",
organizationHomepage := Option(new java.net.URL("http://qvantel.com")),
description := "Deployment plugin for SBT",
homepage := Option(url("https://github.com/qvantel/sbt-mobilizer")),
scmInfo := Option(ScmInfo(new java.net.URL("https://github.com/qvantel/sbt-mobilizer"), "scm:git:github.com/qvantel/sbt-mobilizer.git", Option("scm:git:git@github.com:qvantel/sbt-mobilizer.git"))),
licenses += ("MIT", url("https://github.com/onesto/sbt-mobilizer/blob/master/LICENSE")))))
.settings(
name := "sbt-mobilizer",
sbtPlugin := true,
crossSbtVersions := Vector("0.13.16", "1.0.0-RC3"),
publishMavenStyle := false,
publishArtifact in Test := false,
bintrayOrganization := Option("onesto"),
testOptions in Test += Tests.Argument("-oD"),
javacOptions in ThisBuild ++= Seq(
"-deprecation",
"-g",
"-Xlint"),
scalacOptions in ThisBuild ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-explaintypes",
"-feature",
"-unchecked",
// advanced
"-Xcheckinit",
"-Xfuture",
"-Xlog-reflective-calls",
"-Xlog-free-terms",
"-Xlog-free-types",
"-Xverify",
// private
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-inaccessible",
"-Ywarn-nullary-override",
"-Ywarn-nullary-unit",
"-Ywarn-value-discard",
"-Xmax-classfile-name", "130" // avoid problems on eCryptFS
),
scalacOptions ++= {
if (scalaVersion.value startsWith "2.10.") {
Seq("-Xlint")
} else {
Seq(
"-opt-warnings:_",
"-Xlint:-unused,_",
"-Ywarn-unused:_")
}
},
libraryDependencies ++= Seq(
"com.github.nscala-time" %% "nscala-time" % "2.16.0",
"org.bouncycastle" % "bcprov-jdk15on" % "1.57",
"org.bouncycastle" % "bcpkix-jdk15on" % "1.57",
"com.jcraft" % "jzlib" % "1.1.3",
"org.slf4j" % "slf4j-api" % "1.7.25",
"com.hierynomus" % "sshj" % "0.21.2-dev.24.uncommitted+a96fbfc",
"com.jcraft" % "jsch.agentproxy.usocket-jna" % "0.0.9",
"com.jcraft" % "jsch.agentproxy.sshagent" % "0.0.9",
"com.jcraft" % "jsch.agentproxy.pageant" % "0.0.9",
"com.jcraft" % "jsch.agentproxy.sshj" % "0.0.9" excludeAll(ExclusionRule(organization = "net.schmizz")),
"commons-pool" % "commons-pool" % "1.6"))