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 {