Can't run local
As soon as I execute a gralde local command, I keep getting this error:
Execution failed for task ':local'.
org.jetbrains.kotlin.cli.jvm.compiler.TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration$default(Lorg/jetbrains/kotlin/com/intellij/openapi/project/Project;Ljava/util/Collection;Lorg/jetbrains/kotlin/resolve/BindingTrace;Lorg/jetbrains/kotlin/config/CompilerConfiguration;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;Lorg/jetbrains/kotlin/com/intellij/psi/search/GlobalSearchScope;ILjava/lang/Object;)Lorg/jetbrains/kotlin/analyzer/AnalysisResult;
- Try:
Ok, issue is with version. Using kotlin 1.3.72 it worked well. Now I keep getting this error: Could not find or load main class com.example.ApplicationKt
I can reproduce this bug
- Checkout this commit https://github.com/jmfayard/hello-serverless/commit/1aef399d3d0b217ff4abd424f99ff356dc211bf7
- Run
./gradlew local - Error
TopDownAnalyzerFacadeForJVMhttps://gradle.com/s/msgz3u5dgnicq - Revert to Kotlin 1.3 and it works
Kotless has indeed problems with Kotlin 1.5
I know this is dead, but i'm experiencing the same issues.