I'm a bit confused about the recently released com...
# compose-android
m
I'm a bit confused about the recently released compiler version "1.4.5" I had a PR upgrading kotlin to 1.8.20 and compose compiler. I was using 1.4.4-dev-k1.8.20-f6ae19e64ff and was working correctly. Today I tried with 1.4.5 and get
androidx/compose/compiler/plugins/kotlin/ComposeComponentRegistrar has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
Does that means that I need to set jdk to 17 on my sdk location?
v
Yeah, there's a lot of discussion about it! TLDR:
1.4.5
requires JDK 17, but
1.4.6
is coming soon and it will support 11 again. See more details at: • https://kotlinlang.slack.com/archives/CJLTWPH7S/p1681335595033629https://kotlinlang.slack.com/archives/CJLTWPH7S/p1681323339179339?thread_ts=1681323339.179339&cid=CJLTWPH7S
m
Holy cow
cool thanks
j
Compose Compiler 1.4.6 with support for Java11 toolchain is released: https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.4.6
m
Excellent, thanks for the update