Join Slack
Powered by
How do we set the gradle build option such that my...
# getting-started
y
Yogeshvu
11/15/2023, 11:49 PM
How do we set the gradle build option such that my kotlin app also runs on older version of jdk..?
v
Vampire
11/15/2023, 11:56 PM
Set the toolchain to the version you wan to support?
Vampire
11/15/2023, 11:56 PM
https://blog.jetbrains.com/kotlin/2021/11/gradle-jvm-toolchain-support-in-the-kotlin-plugin/
y
Yogeshvu
11/16/2023, 12:24 AM
Thanks I have jdk21 but would like to have backward compatibility with jdk11 distribution of the kotlin app executable
Yogeshvu
11/16/2023, 12:25 AM
So how to configure such that the app supports all the jdk 11 and above
v
Vampire
11/16/2023, 12:26 AM
Configure 11 as toolchain as show in the blog
🙌 1
y
Yogeshvu
11/16/2023, 12:33 AM
That’s helpful , will try out
👌 1
Open in Slack
Previous
Next