mirror of
https://github.com/hanzoai/java-sdk.git
synced 2026-10-30 15:07:36 +00:00
15 lines
407 B
Kotlin
15 lines
407 B
Kotlin
rootProject.name = "hanzo-java-root"
|
|
|
|
val projectNames = rootDir.listFiles()
|
|
?.asSequence()
|
|
.orEmpty()
|
|
.filter { file ->
|
|
file.isDirectory &&
|
|
file.name.startsWith("hanzo-java") &&
|
|
file.listFiles()?.asSequence().orEmpty().any { it.name == "build.gradle.kts" }
|
|
}
|
|
.map { it.name }
|
|
.toList()
|
|
println("projects: $projectNames")
|
|
projectNames.forEach { include(it) }
|