https://kotlinlang.org logo
Title
k

kartikpatodi

10/20/2017, 9:28 AM
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

bamboo

10/20/2017, 11:42 AM
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

kartikpatodi

10/20/2017, 2:45 PM
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

kartikpatodi

10/30/2017, 8:21 PM
@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

bamboo

10/30/2017, 9:05 PM
What’s the error?
k

kartikpatodi

11/01/2017, 3:30 AM
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