From 06425e735e5a7ba150edec3c55bae11f9e191b2a Mon Sep 17 00:00:00 2001 From: Tim te Beek Date: Tue, 12 Mar 2024 22:55:45 +0100 Subject: [PATCH] Provide some of the runtime dependencies for error-prone-contrib Fixes https://github.com/openrewrite/rewrite-third-party/issues/5 --- build.gradle.kts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 45a6fd3..7985ce0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,6 +21,18 @@ dependencies { runtimeOnly("org.axonframework:axon-migration:latest.release") runtimeOnly("tech.picnic.error-prone-support:error-prone-contrib:latest.release") + // error-prone-contrib only has provided dependencies, whereas the platform needs these on the classpath at runtime + runtimeOnly("org.assertj:assertj-core:latest.release") + runtimeOnly("org.springframework:spring-context:latest.release") + runtimeOnly("org.springframework:spring-test:latest.release") + runtimeOnly("org.springframework:spring-web:latest.release") + runtimeOnly("org.springframework:spring-webflux:latest.release") + runtimeOnly("org.testng:testng:latest.release") + runtimeOnly("io.projectreactor:reactor-core:latest.release") + runtimeOnly("io.projectreactor:reactor-test:latest.release") + runtimeOnly("io.projectreactor.addons:reactor-adapter:latest.release") + runtimeOnly("io.projectreactor.addons:reactor-extra:latest.release") + testImplementation("org.openrewrite:rewrite-java") testImplementation("org.openrewrite:rewrite-test")