20 lines
497 B
Kotlin
20 lines
497 B
Kotlin
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
|
|
}
|
|
|
|
fun includeDir(dir: String) {
|
|
val dirFile = file(dir)
|
|
(dirFile.listFiles() ?: emptyArray<File>())
|
|
.filter { file -> file.isDirectory }
|
|
.map { file -> file.relativeTo(rootDir) }
|
|
.map { file -> file.toString().replace('/', ':') }
|
|
.forEach { file ->
|
|
include(file)
|
|
}
|
|
}
|
|
|
|
rootProject.name = "xssak"
|
|
include("app")
|
|
includeDir("modules")
|
|
includeDir("apps")
|