I want to try the gradle-kotlin but i just can't f...
# gradle
k
I want to try the gradle-kotlin but i just can't figure oit how to start a new gradle-kotlin project from scratch in IntelliJ idea..
b
I usually start by copying the
hello-kotlin
sample (https://github.com/gradle/kotlin-dsl/tree/master/samples/hello-kotlin/) and then importing the project
We have plans to make the initial experience better though: https://github.com/gradle/gradle/issues/1673
k
Yes it will be a better expierience that way if i can create a new project directly from the new project wizard. Thanks @bamboo
Is there any documentation regarding kotlin-gradle stuff like tutorials etc for newbies??
k
@bamboo I tried the
build.gradle.kts
file mentioned in the above guide url but it shows error please review is the syntax up-to-date
b
What’s the error?
k
I guess it should be
kotlin("jvm") version "1.1.4"
instead of
kotlin("jvm", "1.1.4")
Also the sync is lagging for some reason so autocomolete popups showup with delay Currently using IntelliJ Idea 2017.2.5