When following setup tutorial for intellijIdea <ht...
# ktor
n
When following setup tutorial for intellijIdea https://ktor.io/quickstart/intellij-idea.html I saw a strange behavior: Step 6 declares this: Wait a few seconds for Gradle to run, and you should see a project structure like the following (with a few other files and directories): And structure must be like this:

https://ktor.io/pages/quickstart/intellij-idea/project-structure.png

But actually Idea doesn't create a source sets files and directories. More detailed in thread...
My structure like this:

https://pasteboard.co/Hiw9qgi.png

Gradle completed succesfully

https://pasteboard.co/Hiw9MOY.png

Idea Ultimate 2018.1.2 Kotlin plugin 1.2.40
I touch a gradle file and it automatically do some work in background and additional files created. But source sets files and directories NOT

https://pasteboard.co/HiwcwOZ.png

build.gradle content is: https://hastebin.com/oroxitulug.bash
s
I have the same issue on Windows
n
Uh, yes, if it is matter, my system OS X 10.13.4
s
yeah i recognized your OS thanks to the sexy font rendering 😛
d
This might be a bug of a recent version of intelliJ. I will check. In the meantime, to avoid this small inconvenience, you can create the folders manually. They should be identified as source roots. (If not, they will if you refresh the gradle project once created)
n
Yes you can manually create all the things and it work normally. First time when I met this behaviour I did not even notice it. Today, the next time I saw this, I decided to write a note to you about this inconvenience.
👍 1
d
Thanks for reporting!
s
Yeah just tried again with both stable and EAP, directories aren't created:

https://i.imgur.com/PjmBcw1.png

d
2018.x right?
I think I did the tutorial with 2017.3 or so
s
2018.1.3 EAP
👌 1
I created the project using this menu:

https://i.imgur.com/6o6UEYV.png