Skip to content

Commit 3076ba6

Browse files
committed
Add a note about enabling core library desugaring on Android
Fixes #48, #64, #69
1 parent e1d841b commit 3076ba6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ The implementation of date/time types, such as `Instant`, `LocalDateTime`, `Time
240240
- [x] Some kind of `Clock` interface is needed as a pluggable replacement for `Instant.now()`.
241241
- [ ] Flexible locale-neutral parsing and formatting facilities are needed to support various date/time interchange
242242
formats that are used in practice (in particular, various RFCs).
243-
- [ ] An alternative JVM implementation for Android might be needed.
244243

245244
## Using in your projects
246245

@@ -250,6 +249,9 @@ The library is published to [kotlinx](https://bintray.com/kotlin/kotlinx/kotlinx
250249

251250
The library depends on the Kotlin Standard Library not lower than `1.4.0`.
252251

252+
If you target Android devices running **below API 26**, you need to use Android Gradle plugin 4.0 or newer
253+
and enable [core library desugaring](https://developer.android.com/studio/write/java8-support#library-desugaring).
254+
253255
### Gradle
254256

255257
- Add the bintray repository:

0 commit comments

Comments
 (0)