From b72b02d3a94544c86f2975cce910318aa02b8cda Mon Sep 17 00:00:00 2001 From: Benedikt Waldvogel Date: Wed, 5 Aug 2026 10:07:27 +0200 Subject: [PATCH] Fix test dependencies for spring-boot-test/jpa-query-capturing --- spring-boot-tests/jpa-query-capturing/build.gradle | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/spring-boot-tests/jpa-query-capturing/build.gradle b/spring-boot-tests/jpa-query-capturing/build.gradle index e3e7911..4ccb529 100644 --- a/spring-boot-tests/jpa-query-capturing/build.gradle +++ b/spring-boot-tests/jpa-query-capturing/build.gradle @@ -4,20 +4,22 @@ plugins { dependencies { implementation platform("org.springframework.boot:spring-boot-dependencies:${rootProject.ext.springBootVersion}") - implementation "org.springframework.boot:spring-boot-starter-test" implementation "org.springframework.boot:spring-boot-starter-data-jpa" - implementation(project(":")) { + runtimeOnly "com.h2database:h2" + + testImplementation "org.springframework.boot:spring-boot-starter-test" + testImplementation(project(":")) { capabilities { requireCapability("de.cronn:test-utils-jpa-query-capturing-support") } } - implementation(project(":")) { + testImplementation(project(":")) { capabilities { requireCapability("de.cronn:test-utils-h2-support") } } - runtimeOnly "com.h2database:h2" - runtimeOnly "org.junit.platform:junit-platform-launcher" + + testRuntimeOnly "org.junit.platform:junit-platform-launcher" } test {