So I was working with pulsar and come across this error while coding with
Calls to static methods in Java interfaces are prohibited in JVM target 1.6. Recompile with ‘-jvm-target 1.8’
build.gradle.kts and append the following
kotlinOptions.jvmTarget = "1.8"
that should get you going (hopefully XD)