Permalink
Browse files

separate out proguard option, prep for resource filtering to switch b…

…etween dev build and market release build
  • Loading branch information...
1 parent 3460a13 commit 4eb5a6c1b06a387660c1e43ced65610688e7d78c @AEtherSurfer AEtherSurfer committed May 22, 2011
Showing with 10 additions and 4 deletions.
  1. +10 −4 build.gradle
View
@@ -1,4 +1,3 @@
-
buildscript {
repositories {
mavenCentral()
@@ -20,7 +19,8 @@ dependencies {
compile 'org.slf4j:slf4j-api:1.6.1'
}
// Sets the package version
-version = "0.0.3-SNAPSHOT"
+version = "0.0.4-SNAPSHOT"
+devLabel = "Dev"
// Signing configuration, valid for all builds (1)
//androidPackage {
// keyStore = "path/to/my/keystore"
@@ -43,7 +43,13 @@ processResources {
task configureDebug << {
jar.classifier = "debug"
}
-// Configure a dedicated release build (4)
-task configureRelease << {
+// Enable proguard
+task configureProguard << {
proguard.enabled = true
}
+// Configure build for release to market
+task configureRelease << {
+ //proguard cannot currently be properly configured
+ //proguard.enabled = true
+ devLabel = ""
+}

0 comments on commit 4eb5a6c

Please sign in to comment.