Skip to content

Commit c35ed91

Browse files
committed
Only enforce spring-boot-parent's constraints internally
See spring-projectsgh-21350
1 parent e6376fc commit c35ed91

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spring-boot-project/spring-boot-parent/build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ plugins {
22
id "java-platform"
33
id "org.springframework.boot.conventions"
44
id "org.springframework.boot.deployed"
5+
id "org.springframework.boot.internal-dependency-management"
56
}
67

78
description = "Spring Boot Parent"
@@ -11,8 +12,8 @@ javaPlatform {
1112
}
1213

1314
dependencies {
14-
api(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
15-
api(enforcedPlatform("org.testcontainers:testcontainers-bom:1.14.1"))
15+
api(platform(project(":spring-boot-project:spring-boot-dependencies")))
16+
api(platform("org.testcontainers:testcontainers-bom:1.14.1"))
1617

1718
constraints {
1819
api("com.vaadin.external.google:android-json:0.0.20131108.vaadin1")

0 commit comments

Comments
 (0)