Jacob Rhoda
06/27/2023, 8:45 PM'compileDebugUnitTestJavaWithJavac' task (current target is 1.8) and 'kspDebugUnitTestKotlinAndroid' task (current target is 17) jvm target compatibility should be set to the same Java version.
How can I fix this?Jacob Rhoda
06/27/2023, 8:46 PMLandry Norris
06/27/2023, 9:02 PMJacob Rhoda
06/27/2023, 9:03 PMLandry Norris
06/27/2023, 9:05 PMJacob Rhoda
06/27/2023, 9:26 PMJacob Rhoda
06/28/2023, 4:24 PMLandry Norris
06/28/2023, 4:35 PMandroid {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
Of course, if you already have an android block, add the compile options inside of it.Landry Norris
06/28/2023, 4:58 PMLandry Norris
06/28/2023, 5:06 PMJacob Rhoda
06/28/2023, 5:07 PM