From b60b5feefe9b1e044854df69ed25e5fcf8329409 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 24 Feb 2022 15:12:09 +0100 Subject: [PATCH] Add explicit dependency on inject-api This commit clarifies the build as a test needs inject-api and it works only by side effect as another library has repackaged this API. Closes gh-29990 --- spring-boot-project/spring-boot/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot/build.gradle b/spring-boot-project/spring-boot/build.gradle index 5e7389cdae..fb0e69543b 100644 --- a/spring-boot-project/spring-boot/build.gradle +++ b/spring-boot-project/spring-boot/build.gradle @@ -116,6 +116,7 @@ dependencies { testImplementation("com.sun.xml.messaging.saaj:saaj-impl") testImplementation("io.projectreactor:reactor-test") testImplementation("io.r2dbc:r2dbc-h2") + testImplementation("jakarta.inject:jakarta.inject-api") testImplementation("jakarta.persistence:jakarta.persistence-api") testImplementation("jakarta.xml.ws:jakarta.xml.ws-api") testImplementation("mysql:mysql-connector-java")