Fix ratpack test latest deps
MODIFY
instrumentation/ratpack-1.4/library/build.gradle.kts
instrumentation/ratpack-1.4/library/build.gradle.kts
@@ -7,6 +7,8 @@ dependencies {
library("io.ratpack:ratpack-core:1.4.0")
testImplementation(project(":instrumentation:ratpack-1.4:testing"))
+
+ testLibrary("io.ratpack:ratpack-test:1.4.0")
testLibrary("io.ratpack:ratpack-guice:1.4.0")
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_11)) {

MODIFY
instrumentation/ratpack-1.4/testing/build.gradle.kts
instrumentation/ratpack-1.4/testing/build.gradle.kts
@@ -5,8 +5,10 @@ plugins {
dependencies {
api(project(":testing-common"))
- api("io.ratpack:ratpack-core:1.4.0")
- api("io.ratpack:ratpack-test:1.4.0")
+ // it's important for these to not be api dependencies, because api dependencies pull in their
+ // transitive dependencies as well, which causes issues for testLatestDep
+ implementation("io.ratpack:ratpack-core:1.4.0")
+ implementation("io.ratpack:ratpack-test:1.4.0")
implementation("org.codehaus.groovy:groovy-all")
implementation("io.opentelemetry:opentelemetry-api")

Fix ratpack test latest deps (#4679)