1 parent eeb927f commit f69e3e8Copy full SHA for f69e3e8
1 file changed
settings.gradle.kts
@@ -16,4 +16,14 @@ rootProject.name = "legitslimepaper"
16
include("legitslimepaper-api")
17
include("legitslimepaper-server")
18
19
-include("core", "api")
+fun optionalProject(path: String) {
20
+ val d = file(path)
21
+ if (d.isDirectory) {
22
+ include(path)
23
+ } else {
24
+ logger.lifecycle("Skipping $path (missing dir: ${d.path})")
25
+ }
26
+}
27
+
28
+optionalProject("core")
29
+optionalProject("api")
0 commit comments