Revert settings.gradle.kts change

This commit is contained in:
arkon 2020-12-15 22:18:54 -05:00
parent c0a7a4cd2b
commit a07dabee6c
1 changed files with 11 additions and 11 deletions

View File

@ -11,19 +11,19 @@ include(":lib-dataimage")
project(":lib-dataimage").projectDir = File("lib/dataimage")
// Loads all extensions
// File(rootDir, "src").eachDir { dir ->
// dir.eachDir { subdir ->
// val name = ":${dir.name}-${subdir.name}"
// include(name)
// project(name).projectDir = File("src/${dir.name}/${subdir.name}")
// }
// }
File(rootDir, "src").eachDir { dir ->
dir.eachDir { subdir ->
val name = ":${dir.name}-${subdir.name}"
include(name)
project(name).projectDir = File("src/${dir.name}/${subdir.name}")
}
}
// Use this to load a single extension during development
val lang = "all"
val name = "mangaplus"
include(":${lang}-${name}")
project(":${lang}-${name}").projectDir = File("src/${lang}/${name}")
// val lang = "all"
// val name = "mmrcms"
// include(":${lang}-${name}")
// project(":${lang}-${name}").projectDir = File("src/${lang}/${name}")
inline fun File.eachDir(block: (File) -> Unit) {
listFiles()?.filter { it.isDirectory }?.forEach { block(it) }