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

已回答

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

Solved, I needed to add

 

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

请先登录再写评论。