We have been using gradle for about a year and have been somewhat successful with it. A number of features are still a little opaque, but we are getting there. I am not sure
Kotlin version of settings.gradle.kts
fileTree(".") {
include("**/build.gradle")
include("**/build.gradle.kts")
exclude("buildSrc/**")
exclude("build.gradle.kts")
}.map {
relativePath(it.parent)
.replace(File.separator, ":")
}.forEach {
include(it)
}
Instead of adding it manually like this (like Intellij Idea
suggests):
include("modules:core")
findProject(":modules:core")?.name = "core"