Skip to content

Commit

Permalink
configure consumerProguardFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
takuji31 committed Aug 26, 2017
1 parent c4acdb0 commit 26da6d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion koreference-observable/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

consumerProguardFiles 'proguard-rules.pro'
}
buildTypes {
release {
Expand Down
6 changes: 6 additions & 0 deletions koreference-observable/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

# for kotlin-reflect
-keepattributes *Annotation*
-dontwarn kotlin.reflect.jvm.internal.**
-keep class kotlin.** { *; }
-keep class org.jetbrains.** { *; }

0 comments on commit 26da6d7

Please sign in to comment.