Removed proguard.
This removes some complications with -keep flags etc (but seems to increase compile time and file size for release builds slightly).
This commit is contained in:
parent
4e7ce2d301
commit
a54dd5786b
2 changed files with 3 additions and 39 deletions
|
@ -31,16 +31,9 @@ android {
|
|||
testInstrumentationRunner "com.android.test.runner.MultiDexTestRunner"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
debug {
|
||||
applicationIdSuffix ".debug"
|
||||
minifyEnabled false
|
||||
testCoverageEnabled true
|
||||
}
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFile file("proguard-rules.pro")
|
||||
}
|
||||
buildTypes.debug {
|
||||
applicationIdSuffix ".debug"
|
||||
testCoverageEnabled true
|
||||
}
|
||||
|
||||
// Increasing minSdkVersion reduces compilation time for MultiDex.
|
||||
|
|
29
app/proguard-rules.pro
vendored
29
app/proguard-rules.pro
vendored
|
@ -1,29 +0,0 @@
|
|||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in /home/felix/software/android-studio/sdk/tools/proguard/proguard-android.txt
|
||||
# You can edit the include path and order by changing the proguardFiles
|
||||
# directive in build.gradle.
|
||||
#
|
||||
# For more details, see
|
||||
# http://developer.android.com/guide/developing/tools/proguard.html
|
||||
# Add any project specific keep options here:
|
||||
# If your project uses WebView with JS, uncomment the following
|
||||
# and specify the fully qualified class name to the JavaScript interface
|
||||
# class:
|
||||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
|
||||
# public *;
|
||||
#}
|
||||
-dontoptimize
|
||||
-dontobfuscate
|
||||
-dontpreverify
|
||||
-dontwarn scala.**
|
||||
-keep class !scala*.** { *; }
|
||||
# Avoid crash when invoking String.toInt (see https://issues.scala-lang.org/browse/SI-5397).
|
||||
-keep class scala.collection.SeqLike {
|
||||
public protected *;
|
||||
}
|
||||
|
||||
# Disable warnings for Guava annotations.
|
||||
-dontwarn javax.annotation.**
|
||||
-dontwarn javax.inject.**
|
||||
-dontwarn sun.misc.Unsafe
|
Reference in a new issue