Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
Update coroutine version, add proguard for it
Browse files Browse the repository at this point in the history
  • Loading branch information
XinyueZ committed Nov 8, 2018
1 parent e7d6a65 commit f1c8405
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

# ServiceLoader support
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}

# Most of volatile fields are updated with AFU and should not be mangled
-keepclassmembernames class kotlinx.** {
volatile <fields>;
}
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ buildscript {
// App dependencies
constraintLayoutVersion = '2.0.0-alpha2'
coreTestingVersion = '2.0.0'
coroutines = "1.0.0"
coroutines = "1.0.1"
espressoVersion = '3.1.0-alpha4'
glideVersion = '4.8.0'
gradleVersion = '3.2.1'
Expand Down

0 comments on commit f1c8405

Please sign in to comment.