From 48cc79c90b5cb68002521311525118d0f4b3ae08 Mon Sep 17 00:00:00 2001 From: Radoslaw Postolowicz Date: Tue, 4 Apr 2023 18:30:34 +0200 Subject: [PATCH] Cleanup: use `api` configuration This helps IntelliJ recognize tests. --- spring-boot-tests/h2/build.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/spring-boot-tests/h2/build.gradle b/spring-boot-tests/h2/build.gradle index 03bd0ec..c31d5f7 100644 --- a/spring-boot-tests/h2/build.gradle +++ b/spring-boot-tests/h2/build.gradle @@ -1,6 +1,10 @@ +plugins { + id "java-library" +} + dependencies { - implementation platform("org.springframework.boot:spring-boot-dependencies:2.6.14") - implementation "org.springframework.boot:spring-boot-starter-test" - implementation "org.springframework.boot:spring-boot-starter-data-jpa" + api platform("org.springframework.boot:spring-boot-dependencies:2.6.14") + api "org.springframework.boot:spring-boot-starter-test" + api "org.springframework.boot:spring-boot-starter-data-jpa" implementation project(":") }