From c35ed9100b0fe1b8bd7690e6de801e4ad5f784f3 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 14 May 2020 12:46:18 +0100 Subject: [PATCH] Only enforce spring-boot-parent's constraints internally See gh-21350 --- spring-boot-project/spring-boot-parent/build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-parent/build.gradle b/spring-boot-project/spring-boot-parent/build.gradle index e248252a6d0..db89d20e18d 100644 --- a/spring-boot-project/spring-boot-parent/build.gradle +++ b/spring-boot-project/spring-boot-parent/build.gradle @@ -2,6 +2,7 @@ plugins { id "java-platform" id "org.springframework.boot.conventions" id "org.springframework.boot.deployed" + id "org.springframework.boot.internal-dependency-management" } description = "Spring Boot Parent" @@ -11,8 +12,8 @@ javaPlatform { } dependencies { - api(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies"))) - api(enforcedPlatform("org.testcontainers:testcontainers-bom:1.14.1")) + api(platform(project(":spring-boot-project:spring-boot-dependencies"))) + api(platform("org.testcontainers:testcontainers-bom:1.14.1")) constraints { api("com.vaadin.external.google:android-json:0.0.20131108.vaadin1")