fix of including

This commit is contained in:
InsanusMokrassar 2021-04-20 19:17:59 +06:00
parent ed4812e6d8
commit 50c1cd8215

View File

@ -35,6 +35,11 @@ android {
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
String sep = File.separator
main.java.srcDirs += "src${sep}main${sep}kotlin"
File jvmKotlinFolder = new File("${project.projectDir}${sep}src${sep}jvmMain${sep}kotlin")
if (jvmKotlinFolder.exists()) {
main.java.srcDirs += jvmKotlinFolder.path
}
}
}