Skip to content

Commit f69e3e8

Browse files
committed
fix: made first applyTask work again
1 parent eeb927f commit f69e3e8

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

settings.gradle.kts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,14 @@ rootProject.name = "legitslimepaper"
1616
include("legitslimepaper-api")
1717
include("legitslimepaper-server")
1818

19-
include("core", "api")
19+
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

Comments
 (0)