Join Slack
Powered by
can i compile something using kotlin-maven-plugin ...
# compiler
v
vineethraj49
10/06/2022, 3:37 PM
can i compile something using kotlin-maven-plugin on jdk17, with source/target set to 8 and expect it to be binary compatible with jdk8?
s
Sam
10/06/2022, 3:40 PM
Caveat: the compiler won’t prevent you from using
classes
that are from later JDK releases, unless you also set
-Xjdk-release
Sam
10/06/2022, 3:53 PM
https://kotlinlang.org/docs/compiler-reference.html#xjdk-release-version
12
Views
Open in Slack
Previous
Next