Advertisement
retnet

missing a Gradle plugin. Apply Gradle plugin

Jun 24th, 2015
348
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.73 KB | None | 0 0
  1. The build file may be missing a Gradle plugin. Apply Gradle plugin
  2. ================
  3. runProguard has been renamed to minifyEnabled in version 0.14.0 (2014/10/31) of Gradle.
  4.  
  5. To fix this, you need to change runProguard to minifyEnabled in the build.gradle file of your project. For example,
  6. ---------------
  7. buildTypes {
  8.     release {
  9.         runProguard false // Does not exist anymore...
  10.         proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  11.     }
  12. }
  13. --------------------
  14. would be replaced by :
  15. ----------------
  16. buildTypes {
  17.     release {
  18.         minifyEnabled false
  19.         proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
  20.     }
  21. }
  22. ------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement