Skip to content

Commit 042e1ed

Browse files
lukedegruchyclaude
andauthored
Source dependencies from local maven repository only when local.properties exists (#990)
Add mavenLocal() repository when local.properties exists Enables resolution of locally-published SNAPSHOT artifacts during development. Gated behind the presence of local.properties (which is gitignored) so CI and other developers are unaffected. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ce78e93 commit 042e1ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build-logic/src/main/kotlin/cqf.java-conventions.gradle.kts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ java {
1616
}
1717

1818
repositories {
19+
if (file("${rootProject.projectDir}/local.properties").exists()) {
20+
mavenLocal()
21+
}
1922
mavenCentral()
2023
maven {
2124
name = "central-snapshots"

0 commit comments

Comments
 (0)