Skip to content

Commit

Permalink
Add Android usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
theigl committed Nov 27, 2020
1 parent ccb3d48 commit e88aec2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Please use the [Kryo mailing list](https://groups.google.com/forum/#!forum/kryo-
- [Installation](#installation)
* [With Maven](#with-maven)
* [Without Maven](#without-maven)
* [On Android](#on-android)
- [Quickstart](#quickstart)
- [IO](#io)
* [Output](#output)
Expand Down Expand Up @@ -149,6 +150,13 @@ Not everyone is a Maven fan. Using Kryo without Maven requires placing the [Kryo

Kryo 5 ships with Objenesis 3.1 which [currently supports](https://github.com/easymock/objenesis/issues/79) Android API >= 26. If you want to use Kryo with older Android APIs, you need to explicitely depend on Objensis 2.6.

```
implementation ('com.esotericsoftware:kryo:5.0.1') {
exclude group: "org.objenesis"
}
implementation 'org.objenesis:objenesis:2.6'
```

## Quickstart

Jumping ahead to show how the library can be used:
Expand Down

0 comments on commit e88aec2

Please sign in to comment.