Created
December 3, 2011 00:24
-
-
Save aolshevskiy/1425494 to your computer and use it in GitHub Desktop.
Proguard test 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
import sbt._ | |
import ProguardPlugin._ | |
object TestBuild extends Build { | |
lazy val rootSettings = Seq( | |
proguardOptions ++= Seq( | |
keepMain("Test"))) | |
lazy val root = Project("root", file(".")) dependsOn(sub) settings(proguardSettings ++ rootSettings :_*) | |
lazy val sub = Project("sub", file("sub")) | |
} |
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
import sbt._ | |
object PluginDef extends Build { | |
lazy val root = Project("plugins", file(".")) dependsOn(proguardPlugin) | |
lazy val proguardPlugin = uri("git://github.com/siasia/xsbt-proguard-plugin.git") | |
} |
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
object Test { | |
def main(args: Array[String]) { | |
println(Test1.test) | |
} | |
} |
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
object Test1 { | |
def test = "Hello, test1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment