Skip to content

Commit f280bfa

Browse files
committed
Add jackson-module-kotlin to testRuntimeOnly dependencies as it is no longer provided as a transitive dependency of rewrite-core
1 parent a26eab3 commit f280bfa

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

build.gradle.kts

+9-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ configurations.all {
8181
}
8282
}
8383

84+
listOf("compileClasspath", "runtimeClasspath")
85+
.map(configurations::named)
86+
.forEach {
87+
it.configure {
88+
exclude("org.jetbrains.kotlin")
89+
}
90+
}
91+
8492
val rewriteVersion = if (project.hasProperty("releasing")) {
8593
"latest.release"
8694
} else {
@@ -114,7 +122,7 @@ dependencies {
114122

115123
testRuntimeOnly("org.openrewrite:rewrite-java-11:${rewriteVersion}")
116124
testRuntimeOnly("org.openrewrite:rewrite-java-8:${rewriteVersion}")
117-
125+
testRuntimeOnly("com.fasterxml.jackson.module:jackson-module-kotlin:latest.release")
118126
testRuntimeOnly("commons-logging:commons-logging:1.2")
119127
testRuntimeOnly("ch.qos.logback:logback-classic:1.2.11")
120128

0 commit comments

Comments
 (0)