Skip to content

Commit 5c5dc4d

Browse files
committed
fix classpath of checkerFramework
1 parent 1b4e574 commit 5c5dc4d

2 files changed

Lines changed: 12 additions & 15 deletions

File tree

build.gradle

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ subprojects {
6363

6464
dependencies {
6565
implementation("org.slf4j:slf4j-api:2.0.17")
66-
testImplementation("ch.qos.logback:logback-classic:1.5.27")
67-
6866

6967
compileOnly("org.jspecify:jspecify:1.0.0")
7068
testCompileOnly("org.jspecify:jspecify:1.0.0")
@@ -75,20 +73,7 @@ subprojects {
7573
checkerFramework "io.github.eisop:checker-qual:$eisop_version"
7674
checkerFramework "io.github.eisop:checker:$eisop_version"
7775

78-
testImplementation("ch.qos.logback:logback-classic:1.5.27")
79-
80-
testImplementation(platform("org.junit:junit-bom:5.14.2"))
81-
testImplementation("org.junit.jupiter:junit-jupiter-api")
82-
testImplementation("org.junit.jupiter:junit-jupiter-params")
83-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
84-
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
85-
testImplementation("org.assertj:assertj-core:3.27.7")
86-
testImplementation(project(':key.util'))
8776
testImplementation(testFixtures(project(":key.util")))
88-
89-
// test fixtures
90-
testImplementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.21.0")
91-
testImplementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.0")
9277
}
9378

9479
tasks.withType(JavaCompile).configureEach {

key.util/build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,24 @@ description = "Utility library of the key-project"
77
dependencies {
88
implementation("org.jspecify:jspecify:1.0.0")
99

10+
// we also export these dependency into src/test/java.
11+
testFixturesApi(project(':key.util'))
12+
1013
testFixturesApi(platform("org.junit:junit-bom:5.14.2"))
1114
testFixturesApi("org.junit.jupiter:junit-jupiter-api")
1215
testFixturesApi("org.junit.jupiter:junit-jupiter-params")
1316
testFixturesApi("org.assertj:assertj-core:3.27.7")
1417
testFixturesApi("ch.qos.logback:logback-classic:1.5.27")
1518
testFixturesApi("org.jspecify:jspecify:1.0.0")
19+
20+
testFixturesApi("ch.qos.logback:logback-classic:1.5.27")
21+
22+
// test fixtures
23+
testFixturesApi("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.21.0")
24+
testFixturesApi("com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.0")
25+
26+
def eisop_version = "3.49.3-eisop1"
27+
testFixturesCompileOnly( "io.github.eisop:checker-qual:$eisop_version")
1628
}
1729

1830
checkerFramework {

0 commit comments

Comments
 (0)