You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -164,11 +164,11 @@ threads are handled by Android runtime.
164
164
165
165
#### R8 and ProGuard
166
166
167
-
For R8 no actions required, it will take obfuscation rules from the jar.
168
-
169
-
For Proguard you need to add options from [coroutines.pro](kotlinx-coroutines-core/jvm/resources/META-INF/proguard/coroutines.pro) to your rules manually.
170
-
171
-
R8 is a replacement for ProGuard in Android ecosystem, it is enabled by default since Android gradle plugin 3.4.0 (3.3.0-beta also had it enabled).
167
+
R8 and ProGuard rules are bundled into the [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android) module.
168
+
For best results it is recommended to use a recent version of R8.
169
+
R8 is a replacement for ProGuard in Android ecosystem, it is enabled by default since Android gradle plugin 3.4.0
170
+
(3.3.0-beta also had it enabled). The upcoming AGP 4.0.0 has never R8 and additional rules enable
171
+
more optimizations, producing smaller binary size.
0 commit comments