Skip to content

Commit ba7cafc

Browse files
authored
build(deps): avoid chicken-egg problem on edc test dependency (#359)
1 parent d83c953 commit ba7cafc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gradle/libs.versions.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ format.version = "1.1"
55
assertj = "3.27.3"
66
checkstyle = "10.26.1"
77
edc = "0.14.0-SNAPSHOT"
8+
# the edc-boot-spi dependency is used only for tests, this fixed version prevents the "chicken-egg" problem
9+
edc-test = "0.13.2"
810
jackson = "2.19.2"
911
jetbrainsAnnotation = "26.0.2"
1012
jakarta-ws-rs = "4.0.0"
@@ -18,7 +20,7 @@ swagger-parser = "2.1.31"
1820
assertj-core = { module = "org.assertj:assertj-core", version.ref = "assertj" }
1921
checkstyle = { module = "com.puppycrawl.tools:checkstyle", version.ref = "checkstyle" }
2022
edc-runtime-metamodel = { module = "org.eclipse.edc:runtime-metamodel", version.ref = "edc" }
21-
edc-core-spi = { module = "org.eclipse.edc:core-spi", version.ref = "edc" }
23+
edc-boot-spi = { module = "org.eclipse.edc:boot-spi", version.ref = "edc-test" }
2224
j2html = { module = "com.j2html:j2html", version = "1.6.0" }
2325
jackson-core = { module = "com.fasterxml.jackson.core:jackson-core", version.ref = "jackson" }
2426
jackson-databind = { module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson" }

plugins/autodoc/autodoc-processor/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ plugins {
1818
dependencies {
1919
api(libs.edc.runtime.metamodel)
2020

21-
testImplementation(libs.edc.core.spi)
21+
testImplementation(libs.edc.boot.spi)
2222
}

0 commit comments

Comments
 (0)