Created
October 22, 2013 14:59
-
-
Save pfn/7102247 to your computer and use it in GitHub Desktop.
proguard command from this-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commands <+= thisProject { p => | |
Command.command("proguard")(st => { | |
val extracted = Project.extract(st) | |
Project.runTask(packageT in (p, Android), | |
extracted.append(Seq( | |
useProguard in Android := true, | |
useProguardInDebug in Android := true | |
), st) | |
) | |
st | |
}) | |
} | |
[info] Loading project definition from /Users/pnguyen/workspace/.../project | |
/Users/pnguyen/workspace/.../build.sbt:23: error: overloaded method value in with alternatives: | |
(p: sbt.Reference,t: sbt.Scoped)sbt.TaskKey[java.io.File] <and> | |
(p: sbt.Reference,c: sbt.ConfigKey)sbt.TaskKey[java.io.File] <and> | |
(c: sbt.ConfigKey,t: sbt.Scoped)sbt.TaskKey[java.io.File] | |
cannot be applied to (sbt.ResolvedProject, sbt.Configuration) | |
Error occurred in an application involving default arguments. | |
Project.runTask(packageT in (p, Android), |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment