hojong
12/26/2020, 7:59 AMbad class file: /mypath/my.jar(/mypackage/my.class)
class file has wrong version 58.0, should be 55.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':mymodule:kaptKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
> java.lang.reflect.InvocationTargetException (no error message)
build gradle kotlin dsl script
configure<JavaPluginExtension> {
toolchain {
languageVersion.set(JavaLanguageVersion.of("14"))
}
}