Permalink
Browse files

Merge pull request #133 from rtyley/proguard-4.8

Upgrade to ProGuard 4.8
  • Loading branch information...
2 parents a8aba78 + 2b02b30 commit ef843571948d8a8f68f553e930dfbfc26982abd9 @jberkel committed Aug 14, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −1 build.sbt
  2. +2 −1 src/main/scala/AndroidInstall.scala
View
@@ -21,7 +21,7 @@ credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
libraryDependencies ++= Seq(
"com.google.android.tools" % "ddmlib" % "r10",
- "net.sf.proguard" % "proguard-base" % "4.6"
+ "net.sf.proguard" % "proguard-base" % "4.8"
)
sbtPlugin := true
@@ -1,3 +1,4 @@
+import java.util.Properties
import proguard.{Configuration=>ProGuardConfiguration, ProGuard, ConfigurationParser}
import sbt._
@@ -151,7 +152,7 @@ object AndroidInstall {
""" ::
proguardOption :: Nil )
val config = new ProGuardConfiguration
- new ConfigurationParser(args.toArray[String]).parse(config)
+ new ConfigurationParser(args.toArray[String], new Properties).parse(config)
streams.log.debug("executing proguard: "+args.mkString("\n"))
new ProGuard(config).execute
Some(classesMinJarPath)

0 comments on commit ef84357

Please sign in to comment.