diff --git a/settings.gradle.kts b/settings.gradle.kts index 3afed46..ead101f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1 +1,20 @@ rootProject.name = "morphe-cli" + +// Include morphe-patcher and morphe-library as composite builds if they exist locally +val morphePatcherDir = file("../morphe-patcher") +if (morphePatcherDir.exists()) { + includeBuild(morphePatcherDir) { + dependencySubstitution { + substitute(module("app.morphe:morphe-patcher")).using(project(":")) + } + } +} + +val morpheLibraryDir = file("../morphe-library") +if (morpheLibraryDir.exists()) { + includeBuild(morpheLibraryDir) { + dependencySubstitution { + substitute(module("app.morphe:morphe-library")).using(project(":")) + } + } +}