add module inrt(independent app runtime)

This commit is contained in:
hyb1996
2017-07-02 14:21:27 +08:00
parent c08363f033
commit a87cf6fc3a
2 changed files with 9 additions and 1 deletions

View File

@@ -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'
}
}
}

View File

@@ -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.** { *; }