Marcelo Hernandez
04/12/2023, 6:15 PMitnoles
04/12/2023, 6:20 PMMarcelo Hernandez
04/12/2023, 6:30 PMKirill Grouchnikov
04/12/2023, 6:42 PMMarcelo Hernandez
04/12/2023, 6:43 PMMarcelo Hernandez
04/12/2023, 6:45 PMMarcelo Hernandez
04/12/2023, 7:12 PMBen Trengrove [G]
04/12/2023, 9:44 PMMarcelo Hernandez
04/12/2023, 9:52 PMColton Idle
04/13/2023, 12:49 PMMarcelo Hernandez
04/13/2023, 1:19 PMFrancis Mariano
04/19/2023, 4:08 PMMarcelo Hernandez
04/19/2023, 4:11 PM8.x
, and Kotlin 1.8.20, you'll have to update to JDK 17 regardless.Marcelo Hernandez
04/19/2023, 4:11 PM1.4.5
can be used as is without having to wait for 1.4.6
😄Francis Mariano
04/19/2023, 4:16 PMMarcelo Hernandez
04/19/2023, 4:17 PMMarcelo Hernandez
04/19/2023, 4:17 PMMarcelo Hernandez
04/19/2023, 4:18 PMMarcelo Hernandez
04/19/2023, 4:20 PMIf I'm not mistaken, I believe I saw a warning from the Kotlin Multiplatform plugin with Kotlin 1.8.20 that Gradle 7.x is not officially supported. 🤷♂️I could be wrong though. 🙂
Francis Mariano
04/19/2023, 4:24 PMYou'd still target Java 11 with JDK 17.Like this???
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
Marcelo Hernandez
04/19/2023, 4:26 PMMarcelo Hernandez
04/19/2023, 4:28 PMtasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
}
}
// If you still have code in Java.
// This includes if you use Dagger/Hilt with pure Kotlin since Dagger/Hilt code-gen is in Java.
tasks.withType<JavaCompile>().configureEach {
sourceCompatibility = "11"
targetCompatibility = "11"
}
Marcelo Hernandez
04/19/2023, 4:29 PMFrancis Mariano
04/19/2023, 5:06 PMMarcelo Hernandez
04/19/2023, 5:10 PMjim
04/19/2023, 5:54 PM