How to create Gradle Kotlin project?

Answered

Hi

I used Intellij Idea 2017.1 EAP build 3691 and tried to create new Gradle Kotlin project. I checked "Kotlin" support when creating new Gradle project however Idea generated standard build.gradle/settings.gradle files(build.gradle.kts).

I also noticed the error in the log:

Error:Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.0-rc-93.
Searched in the following locations:
    http://dl.bintray.com/kotlin/kotlin-eap-1.1/org/jetbrains/kotlin/kotlin-gradle-plugin/1.1.0-rc-93/kotlin-gradle-plugin-1.1.0-rc-93.pom
    http://dl.bintray.com/kotlin/kotlin-eap-1.1/org/jetbrains/kotlin/kotlin-gradle-plugin/1.1.0-rc-93/kotlin-gradle-plugin-1.1.0-rc-93.jar
    https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.1.0-rc-93/kotlin-gradle-plugin-1.1.0-rc-93.pom
    https://repo1.maven.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.1.0-rc-93/kotlin-gradle-plugin-1.1.0-rc-93.jar
Required by:
    project :

Thanks

2
1 comment

Please use https://discuss.kotlinlang.org/ for Kotlin specific questions.

0

Please sign in to leave a comment.