Skip to content

Commit d5bb6b3

Browse files
committed
chore(deps): allow to read spotless-libs from maven local
1 parent 9613da5 commit d5bb6b3

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

build-logic/src/main/groovy/buildlogic.java-common-conventions.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ plugins {
1313
repositories {
1414
// Use Maven Central for resolving dependencies.
1515
mavenCentral()
16+
// if we are in localdev, also use the local maven repository
17+
def isCI = providers.environmentVariable('CI').present
18+
if (!isCI) {
19+
mavenLocal()
20+
}
1621
}
1722

1823
dependencies {

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ assertj-core = "3.27.3"
77
durian = "1.2.0"
88
junit = "5.8.1"
99
picocli = "4.7.6"
10-
spotless-lib = "3.0.2"
10+
spotless-lib = "3.0.2-SNAPSHOT"
1111

1212
[libraries]
1313
annotations = { module = "org.jetbrains:annotations", version.ref = "annotations" }

0 commit comments

Comments
 (0)