PJ Walstrom
02/10/2022, 6:17 PM$ ./gradlew deploy
> Task :generate FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':generate' (type 'KotlessGenerateTask').
- In plugin 'io.kotless' type 'io.kotless.plugin.gradle.tasks.gen.KotlessGenerateTask' property 'myTargetVersion' doesn't have a configured value.
jvmTarget
in tasks
in build.gradle.kts
from 11 to 1_8. Then it works
compileKotlin {
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
}
TanVD
02/11/2022, 10:23 AM