Skip to content

artem-zinnatullin/RxJavaProGuardRules

Repository files navigation

ProGuard rules for RxJava shipped as AAR!

Note about RxJava 2.x

At the moment ProGuard rules for RxJava 2.x are not required, it doesn't use Reflection nor Unsafe in a ways that require ProGuard. If at some point rules for RxJava 2.x/3.x/etc will be required — this project will be updated accordingly.

See issue #44 for more info.


Versioning principle:

Imagine RxJava has version x.y.z — RxJavaProGuardRules version will be x.y.z.n where n is patch version of ProGuard rules for the concrete version of RxJava!

Example: RxJava 1.3.3, RxJavaProGuardRules 1.3.3.n. Easy breezy.


Download

// RxJava itself
compile 'io.reactivex:rxjava:1.3.3'

// And ProGuard rules for RxJava!
compile 'com.artemzin.rxjava:proguard-rules:1.3.3.0'

You can find all releases on Maven Central, and here is the file with ProGuard rules.


Credit for the very first ProGuard rules in this library goes to @felipecsl!