Dear Team,
I tried to create a Grade project → Kotlin(JavaScript) by adding dependencies as mentioned below and the gradle build failed with an exception. Attached is my sample project file.
F:\TestRESTAPI>gradlew build
Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in root project ‘TestRESTAPI’.
FAILURE: Build failed with an exception.
- What went wrong:
Could not determine the dependencies of task ‘:compileKotlin2Js’.
Could not resolve all files for configuration ‘:kotlinCompilerClasspath’.
Could not find org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.20-eap-100.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.20-eap-100/kotlin-compiler-embeddable-1.3.20-eap-100.pom
- https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.3.20-eap-100/kotlin-compiler-embeddable-1.3.20-eap-100.jar
Required by:
project :
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 3s
TestRESTAPI.zip (66.1 KB)