Keep proguard from messing with renderscript

Otherwise the release build will miss the renderscript
libraries.
This commit is contained in:
Markus Fisch
2017-08-27 18:35:46 +02:00
parent 9adb5174af
commit 25173bd7c7
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -27,6 +27,9 @@ android {
}
release {
proguardFiles \
getDefaultProguardFile('proguard-android.txt'), \
'proguard-rules.pro'
minifyEnabled true
shrinkResources true
}
+4
View File
@@ -0,0 +1,4 @@
-dontwarn com.google.**
-dontwarn android.support.v8.**
-keep class android.support.v8.renderscript.** { *; }