diff --git a/inrt/build.gradle b/inrt/build.gradle index 0a08778e..3d8c69eb 100644 --- a/inrt/build.gradle +++ b/inrt/build.gradle @@ -17,10 +17,14 @@ android { } buildTypes { - release { + debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } + release { + minifyEnabled true + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } } } diff --git a/inrt/proguard-rules.pro b/inrt/proguard-rules.pro index 27b6816c..94c25044 100644 --- a/inrt/proguard-rules.pro +++ b/inrt/proguard-rules.pro @@ -23,3 +23,7 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile + +-dontwarn org.mozilla.javascript.** +-dontwarn jackpal.androidterm.** +-keep class org.mozilla.javascript.** { *; } \ No newline at end of file