Skip to content

Commit

Permalink
Merge pull request #629 from greenrobot/readme-updates
Browse files Browse the repository at this point in the history
Readme updates
  • Loading branch information
greenrobot-team authored Jan 21, 2020
2 parents 626277b + 0e0dc21 commit 2836c11
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ Add EventBus to your project
----------------------------
<a href="https://search.maven.org/search?q=g:org.greenrobot%20AND%20a:eventbus"><img src="https://img.shields.io/maven-central/v/org.greenrobot/eventbus.svg"></a>

Available on <a href="https://search.maven.org/search?q=g:org.greenrobot%20AND%20a:eventbus">Maven Central</a>.

Via Gradle:
```gradle
implementation 'org.greenrobot:eventbus:3.1.1'
Expand All @@ -76,7 +78,23 @@ Via Maven:
</dependency>
```

Or download [the latest JAR](https://search.maven.org/remote_content?g=org.greenrobot&a=eventbus&v=LATEST) from Maven Central.
R8, ProGuard
------------

If your project uses R8 or ProGuard add the following rules:

```bash
-keepattributes *Annotation*
-keepclassmembers class * {
@org.greenrobot.eventbus.Subscribe <methods>;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }

# And if you use AsyncExecutor:
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
<init>(java.lang.Throwable);
}
```

Homepage, Documentation, Links
------------------------------
Expand All @@ -86,8 +104,6 @@ For more details please check the [EventBus website](http://greenrobot.org/event

[Documentation](http://greenrobot.org/eventbus/documentation/)

[ProGuard](http://greenrobot.org/eventbus/documentation/proguard)

[Changelog](http://greenrobot.org/eventbus/changelog/)

[FAQ](http://greenrobot.org/eventbus/documentation/faq/)
Expand All @@ -102,10 +118,8 @@ EventBus binaries and source code can be used according to the [Apache License,

More Open Source by greenrobot
==============================
[__ObjectBox__](http://objectbox.io/) ([GitHub](https://github.com/objectbox/objectbox-java)) is a new superfast object-oriented database for mobile.

[__Essentials__](http://greenrobot.org/essentials/) ([GitHub](https://github.com/greenrobot/essentials)) is a set of utility classes and hash functions for Android & Java projects.
[__ObjectBox__](https://objectbox.io/) ([GitHub](https://github.com/objectbox/objectbox-java)) is a new superfast object-oriented database for mobile.

[__greenDAO__](http://greenrobot.org/greendao/) ([GitHub](https://github.com/greenrobot/greenDAO)) is an ORM optimized for Android: it maps database tables to Java objects and uses code generation for optimal speed.
[__Essentials__](https://github.com/greenrobot/essentials) is a set of utility classes and hash functions for Android & Java projects.

Check our [homepage](http://greenrobot.org/) to stay up to date.
[__greenDAO__](https://github.com/greenrobot/greenDAO) is an ORM optimized for Android: it maps database tables to Java objects and uses code generation for optimal speed.

0 comments on commit 2836c11

Please sign in to comment.