From a07dabee6ccb88f9ce267d41373d9552262c07b7 Mon Sep 17 00:00:00 2001 From: arkon Date: Tue, 15 Dec 2020 22:18:54 -0500 Subject: [PATCH] Revert settings.gradle.kts change --- settings.gradle.kts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 5a06a325a..ac95f724b 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -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) }