https://kotlinlang.org logo
Title
d

Doug McCluer

02/23/2021, 4:03 PM
Hi! My generated android code seems to be using threeten.bp for date/time classes, although my project is using desugaring to provide java.time. Can I configure the plugin to use the java.time classes?
g

gammax

02/23/2021, 4:39 PM
That’s an interesting point. So far the short answer is: no. But with the things going forward we should definitely allow to use
java.time
. If you could open an issue to keep track of this would be awesome 🙏
d

Doug McCluer

02/23/2021, 4:43 PM
thanks, will do
g

gammax

02/23/2021, 5:18 PM
Sorry, I gave you a wrong answer. We actually already support what you asked for 👍
d

Doug McCluer

02/23/2021, 5:26 PM
Interesting. I'm using version 1.4.1 of the plugin, but I'm still seeing
import org.threeten.bp.ZonedDateTime
in the generated classes
Any idea what could be the reason for that?
Ah, sorry. Just read your comment: "on the upcoming version"