From 73aa8f1434701930c349ff32bd6a0391dd58127b Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 22 Jun 2020 09:59:21 +0100 Subject: [PATCH] Enforce spring-boot-parent's platform dependencies Closes gh-22047 --- spring-boot-project/spring-boot-parent/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-parent/build.gradle b/spring-boot-project/spring-boot-parent/build.gradle index 9fae65e5a796..1ad775c2c5bd 100644 --- a/spring-boot-project/spring-boot-parent/build.gradle +++ b/spring-boot-project/spring-boot-parent/build.gradle @@ -11,8 +11,8 @@ javaPlatform { } dependencies { - api(platform(project(":spring-boot-project:spring-boot-dependencies"))) - api(platform("org.testcontainers:testcontainers-bom:1.14.2")) + api(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies"))) + api(enforcedPlatform("org.testcontainers:testcontainers-bom:1.14.2")) constraints { api("com.vaadin.external.google:android-json:0.0.20131108.vaadin1")