Skip to content

Commit b29d3f7

Browse files
committed
chore: use local jar if there is no Parsek module
1 parent ce05d86 commit b29d3f7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ repositories {
2727

2828
dependencies {
2929
if (bootstrap) {
30-
compileOnly(project(mapOf("path" to ":Parsek")))
30+
if (findProject(":Parsek") != null) {
31+
compileOnly(project(":Parsek"))
32+
} else {
33+
compileOnly(fileTree(rootDir) { include("Parsek*.jar") })
34+
}
3135
} else {
3236
compileOnly("dev.parsek:core:1.0.0-beta.19")
3337
}

0 commit comments

Comments
 (0)