forked from jrudolph/scala-ssh-shell
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
59 lines (50 loc) · 1.47 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
name := "scala-ssh-shell"
organization := "scala-ssh-shell"
version := "0.0.1-SNAPSHOT"
compileOrder := CompileOrder.JavaThenScala
libraryDependencies <+= scalaVersion { sv =>
"com.dongxiguo" %% "zero-log" % "0.3.2"
}
crossScalaVersions :=
Seq("2.10.1", "2.10.1-SNAPSHOT")
scalacOptions ++= Vector("-unchecked", "-deprecation", "-Ywarn-all")
javacOptions ++= Vector("-encoding", "UTF-8")
libraryDependencies <++= (scalaVersion) {
(scala) => Seq(
"org.scala-lang" % "scala-compiler" % scala,
"org.scala-lang" % "jline" % scala,
"org.bouncycastle" % "bcprov-jdk16" % "1.46",
"org.apache.sshd" % "sshd-core" % "0.8.0",
"org.slf4j" % "slf4j-api" % "1.6.4"
)}
pomExtra <<= scalaVersion { sv =>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scala.version>{sv}</scala.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.15.2</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<recompileMode>modified-only</recompileMode>
<args>
<arg>-Xelide-below</arg>
<arg>FINEST</arg>
<arg>-deprecation</arg>
</args>
</configuration>
</plugin>
</plugins>
</build>
}