-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
32 lines (24 loc) · 1.26 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
name := "Mogotest SSH Tunnel Client"
version := "1.2.0"
scalaVersion := "2.10.1"
// Disable using the Scala version in output paths and artifacts.
crossPaths := false
resolvers += "JSch plugin repo" at "http://jsch.sf.net/maven2/"
libraryDependencies ++= Seq(
"com.beust" % "jcommander" % "1.30",
"com.jcraft" % "jsch" % "0.1.49",
"org.scalaj" %% "scalaj-http" % "0.3.6"
)
seq(sbtassembly.Plugin.assemblySettings: _*)
seq(ProguardPlugin.proguardSettings :_*)
proguardOptions ++= Seq(
keepMain("com.mogotest.localtunnel.Main"),
"-keep class scala.tools.reflect.** { *; }",
"-keep class java.io.Console { char[] readPassword(); }",
"-keep class org.xml.sax.EntityResolver",
"-keep class com.beust.jcommander.** { *; }",
"-keep class com.jcraft.jsch.** { *; }",
"-dontnote scala.Enumeration", // Proguard message: "Note: scala.Enumeration accesses a field 'MODULE$' dynamically"
"-dontnote org.apache.commons.logging.LogSource", // Proguard message: "Note: org.apache.commons.logging.LogSource: can't find dynamically referenced class org.apache.log4j.Logger"
"-dontnote org.apache.commons.logging.impl.Log4JLogger" // Proguard message: "Note: org.apache.commons.logging.impl.Log4JLogger: can't find dynamically referenced class org.apache.log4j.Priority"
)