Kamer358
Kamer358

Reputation: 2480

Java 8+ API desugaring support for pure kotlin modules

I'm trying new Java 8+ API desugaring support (Android Gradle Plugin 4.0.0+)

Everything is fine with android app and android library modules but in pure kotlin modules desugared API's get highlighted red with errors similar to:

Call requires API level 26 (current min is 21): java.time.LocalTime#parse

Everything compiles and works well.

Is there something in .gradle file that needs to be specified or is it a bug in IDE?

Upvotes: 2

Views: 1098

Answers (1)

Kamer358
Kamer358

Reputation: 2480

This seems to be a known bug on the google issue tracker

Upvotes: 1

Related Questions