Closed kyze8439690 closed 2 years ago
EventBus is not distributed as an Android library (AAR), so that won't work.
But we could embed them using a meta-inf file similar to https://github.com/objectbox/objectbox-java/commit/92f3cd54a40ebea753886c480ef4c0094743e8ca
If proguard rule is embeded in META-INF directory, can gradle build system refer to this file?
Once we do, yes. However, it's R8 that uses this file, not Gradle. https://twitter.com/jakewharton/status/1004401938467876865
This proposal is necessary because it is in step with The Times. Hope the official adoption update!
Resolved as part of #670.
Link: https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.BuildType.html#com.android.build.gradle.internal.dsl.BuildType:consumerProguardFiles