From 359833845a097dcdb6a5ce456824aa559b57a1a6 Mon Sep 17 00:00:00 2001 From: Eric Ahn Date: Sat, 14 Feb 2026 12:21:46 -0800 Subject: [PATCH] Use local copies of morphe-patcher and morphe-library if available --- settings.gradle.kts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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(":")) + } + } +}