소스 검색

Enable proguard and wire up rules

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
master
Harsh Shandilya 5 년 전
부모
커밋
495bf9c954
2개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      app/build.gradle
  2. +5
    -0
      app/proguard-rules.pro

+ 2
- 0
app/build.gradle 파일 보기

@@ -46,6 +46,8 @@ android {
arguments "-DANDROID_PACKAGE_NAME=${android.defaultConfig.applicationId}"
}
}
minifyEnabled true
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
debug {
applicationIdSuffix ".debug"


+ 5
- 0
app/proguard-rules.pro 파일 보기

@@ -0,0 +1,5 @@
# Squelch all warnings, they're harmless but ProGuard
# escalates them as errors.
-dontwarn sun.misc.Unsafe
# We're OSS anyway and who doesn't love a readable log
-dontobfuscate

불러오는 중...
취소
저장