Specify optimization to use ProGuard minification on release builds.

Thu, 12 Feb 2015 21:40:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 12 Feb 2015 21:40:00 +0100
changeset 16
c87042164cd8
parent 14
5ae3e5665a0b
child 17
b9ad6f933bc9

Specify optimization to use ProGuard minification on release builds.

build.gradle file | annotate | diff | comparison | revisions
     1.1 --- a/build.gradle	Thu Feb 12 18:02:00 2015 +0100
     1.2 +++ b/build.gradle	Thu Feb 12 21:40:00 2015 +0100
     1.3 @@ -30,6 +30,7 @@
     1.4      }
     1.5      buildTypes {
     1.6          release {
     1.7 +            minifyEnabled true
     1.8              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
     1.9          }
    1.10      }

mercurial