Yorgos S.
10/27/2024, 7:54 AMchristophsturm
10/28/2024, 10:13 AM* What went wrong:
Execution failed for task ':sqlx4k-codegen:compileKotlinJvm'.
> Inconsistent JVM-target compatibility detected for tasks 'compileJava' (18) and 'compileKotlinJvm' (17).
Consider using JVM Toolchain: <https://kotl.in/gradle/jvm/toolchain>
Learn more about JVM-target validation: <https://kotl.in/gradle/jvm/target-validation>
i can see that you set the java jvm version to 17 here:
https://github.com/smyrgeorge/sqlx4k/blob/549bf357fe32d56580318295fbe61eb55dd0e947[…]/smyrgeorge/sqlx4k/multiplatform/MultiplatformJvmConventions.kt
but for the kotlin jvm target it uses the version of the jvm that runs gradle. so it currently only works when running with jdk 17Yorgos S.
10/28/2024, 10:30 AMchristophsturm
10/28/2024, 10:31 AMYorgos S.
10/28/2024, 10:32 AMchristophsturm
10/28/2024, 10:33 AMYorgos S.
10/28/2024, 10:33 AMchristophsturm
10/28/2024, 10:34 AMYorgos S.
10/28/2024, 10:34 AMYorgos S.
10/28/2024, 10:37 AMchristophsturm
10/28/2024, 10:38 AMYorgos S.
10/28/2024, 10:47 AMchristophsturm
10/28/2024, 10:48 AMYorgos S.
10/28/2024, 10:51 AMchristophsturm
10/28/2024, 10:53 AM