Permalink
Browse files

change runProguard to minifyEnabled

See https://stackoverflow.com/questions/20115391/gradle-and-proguard-could-not-find-method-runproguard-for-arguments-true#27016769

Otherwise, it fails with:

* What went wrong:
A problem occurred evaluating root project 'example'.
> Could not find method runProguard() for arguments [false] on BuildType_Decorated{name=release, debuggable=false, testCoverageEnabled=false, jniDebuggable=false, pseudoLocalesEnabled=false, renderscriptDebuggable=false, renderscriptOptimLevel=3, versionNameSuffix=null, minifyEnabled=false, zipAlignEnabled=true, signingConfig=null, embedMicroApp=true, mBuildConfigFields={}, mResValues={}, mProguardFiles=[], mConsumerProguardFiles=[], mManifestPlaceholders={}} of type com.android.build.gradle.internal.dsl.BuildType.
  • Loading branch information...
ppelleti committed Sep 14, 2016
1 parent 6676947 commit 269f759631cee5cbbea1524d4468c99aef94de4a
Showing with 1 addition and 1 deletion.
  1. +1 −1 build.gradle
@@ -14,7 +14,7 @@ android {
buildTypes {
release {
runProguard false
minifyEnabled true
proguardFile getDefaultProguardFile('proguard-android.txt')
}
}

0 comments on commit 269f759

Please sign in to comment.