Refresh in gradle window makes module lose marks on src and test directories

Answered

I have a Gradle Project with a Gradle Module.

 

If I press refresh on the module to update the dependencies, I lose marks on both src and test

 

Intellij 2016.3.2

 

0
1 comment

Solved, I needed to add

 

sourceSets {
main.kotlin.srcDirs += 'src'
test.kotlin.srcDirs += 'test'
}
0

Please sign in to leave a comment.