https://kotlinlang.org logo
Title
r

rmarinsky

10/18/2017, 9:04 AM
Hi all May be I'm not perfectly google it But why when do I create Gradle with Koltin project, automatically generated java packages in main and test modules?

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

r

ross_a

10/18/2017, 9:11 AM
Oh and Kotlin gradle plugin depends on Java gradle plugin - so that's why you have two source roots
r

rmarinsky

10/18/2017, 9:14 AM
It's the tick box with the red arrow in the 2nd comment's picture
I checked that checkbox
r

ross_a

10/18/2017, 9:14 AM
Yeah if tht's ticked, that's why the folders get created
r

rmarinsky

10/18/2017, 9:16 AM
Oh and Kotlin gradle plugin depends on Java gradle
plugin - so that's why you have two source roots but this changes the matter, now it is clear why this is happening
r

ross_a

10/18/2017, 9:16 AM
cool 🙂
r

rmarinsky

10/18/2017, 9:20 AM
thanks)