GarouDan
02/08/2019, 6:14 PMsourceSets {
val jvmMain by getting {
kotlin.srcDir("src/main/kotlin")
resources.srcDir("src/main/resources")
filterPackages("com.company.project.jvm") // filtering packages here
}
My motivation is to try to join all sources in the same folder, for example src/main/kotlin
. If we are to do this we could create some packages like:
com.company.project.common
, com.company.project.js
, com.company.project.jvm
Where all of them could be inside the src/main/kotlin
.Dominaezzz
02/08/2019, 7:08 PMGarouDan
02/08/2019, 7:47 PMDominaezzz
02/08/2019, 7:51 PM