Solving Kotlin compile complain
So I was working with pulsar and come across this error while coding with
PulsarClient.builder()
Calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with ‘-jvm-target 1.8’
open your build.gradle.kts
and append the following
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
that should get you going (hopefully XD)