-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
43 lines (27 loc) · 1.39 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
seq(conscriptSettings :_*)
name := "cjmx"
version := "1.0.0"
scalaVersion := "2.9.2"
scalacOptions += "-deprecation"
licenses += ("Three-clause BSD-style license", url("http://github.com/mpilquist/cjmx/blob/master/LICENSE"))
unmanagedResources in Compile <++= baseDirectory map { base => (base / "NOTICE") +: (base / "LICENSE") +: ((base / "licenses") * "LICENSE_*").get }
resolvers += "Typesafe" at "http://repo.typesafe.com/typesafe/repo"
//resolvers += "Sonatype OSS" at "https://oss.sonatype.org/content/repositories/snapshots"
// SBT 0.12.0-RC2 is only available in the Ivy Releases repository
resolvers += Resolver.url("Typesafe Ivy Releases", url("http://repo.typesafe.com/typesafe/repo"))(Resolver.ivyStylePatterns)
libraryDependencies ++=
"org.scalaz" %% "scalaz-core" % "7.0-SNAPSHOT" ::
"org.scalaz" %% "scalaz-effect" % "7.0-SNAPSHOT" ::
"org.scalaz" %% "scalaz-iteratee" % "7.0-SNAPSHOT" ::
"org.scala-sbt" % "completion" % "0.12.0-RC2" ::
"com.google.code.gson" % "gson" % "2.2.2" ::
"org.scalatest" % "scalatest_2.9.0" % "1.8" % "test" ::
Nil
unmanagedClasspath in Compile ++= toolsJar
proguardSettings
minJarPath <<= target / "cjmx.jar"
proguardOptions ++= Seq(keepMain("cjmx.Main"),
"-dontobfuscate",
"-dontoptimize",
"-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod")
proguardLibraryJars ++= toolsJar