I'm guessing I either need to download 20. 17 works fine for my use-case
Question
I just updated to Hedgehog Canary 10, which requires AGP
8.2.0-alpha10
, but I'm getting an error that ends with
Unknown Kotlin JVM target: 20
Is this a known issue?
I can see it's related to my buildsrc library.
c
Chris Sinco [G]
07/03/2023, 6:16 PM
Not sure but does your project actually require 8.2.0-alpha10?
e
enighma
07/03/2023, 6:17 PM
I don't think so. Although I usually run the latest canary to help test it out.
It looks like the issue is with the buildsrc library. Do you happen to know the syntax to specify the jvm version for it?
enighma
07/03/2023, 6:19 PM
I think I might just have solved it
c
Chris Sinco [G]
07/03/2023, 6:24 PM
Yeah I think that is needed now, or else it defaults to JDK 11. The error message isn’t helpful though
e
enighma
07/03/2023, 6:25 PM
I updated question with my workaround. Yeah, I think a more helpful message might help.