Michael Livshitz
08/29/2022, 8:33 PMkotlin-spark-api_3.0.1_2.12:1.2.1
along side Kotlin 1.6.10
with a 1.8 JVM target
on an existing code base that is already using an older version of Kotlin Spark, but once I've replaced my old dependencies with the new ones, I got Cannot inline bytecode built with JVM target 11 into bytecode that is being built with JVM target 1.8. Please specify proper '-jvm-target' option
. Now when I go to sources I do see that it its bytecode 55 (Java 11). I was wondering if there is anything I can do about it given I'm stuck using a 1.8 JVM.
Thank you for making Spark awesome btw :Droman.belov
08/31/2022, 4:02 PMJolan Rensen [JB]
08/31/2022, 4:13 PM./gradlew -Pspark=X.X.X -Pscala=X.X.X yourCommand
The gradle command publishToMavenLocal
for the kotlin-spark-api_x.x.x_x.xx
module should install it correctly to maven local on your machine.
Also thanks! 🙂 let me know how it goes!Michael Livshitz
08/31/2022, 4:15 PM