I am getting the error ```e: DBHealth.kt: (13, 22)...
# announcements
f
I am getting the error
Copy code
e: DBHealth.kt: (13, 22): Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please specify proper '-jvm-target' option
n
I put this in my gradle script and it seems to do the trick... allprojects { apply plugin: 'java' apply plugin: 'kotlin' sourceCompatibility = 1.8 targetCompatibility = 1.8 tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { kotlinOptions { suppressWarnings = true jvmTarget = 1.8 } }
f
ok so that still seem to be the "recommended" way.
Thanks