We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22f3b27 commit 439dc79Copy full SHA for 439dc79
1 file changed
build.gradle.kts
@@ -26,8 +26,16 @@ repositories {
26
27
dependencies {
28
if (bootstrap) {
29
- compileOnly(project(mapOf("path" to ":Parsek")))
30
- compileOnly(project(mapOf("path" to ":plugins:parsek-plugin-auth")))
+ listOf(
+ ":Parsek" to "Parsek*.jar",
31
+ ":plugins:parsek-plugin-auth" to "parsek-plugin-auth*.jar"
32
+ ).forEach { (path, pattern) ->
33
+ if (findProject(path) != null) {
34
+ compileOnly(project(path))
35
+ } else {
36
+ compileOnly(fileTree(rootDir) { include(pattern) })
37
+ }
38
39
} else {
40
compileOnly("dev.parsek:core:1.0.0-beta.19")
41
compileOnly("dev.parsek:parsek-plugin-auth:1.0.0-dev.7")
0 commit comments