Rework dep mgmt again to avoid consumers picking up strict constraints
This paves the way for publishing Gradle module metadata once the problem caused by snapshot versions and our two-step publication process has been addressed. See gh-19609
This commit is contained in:
@@ -29,7 +29,7 @@ dependencies {
|
||||
testRepository project(path: ':spring-boot-project:spring-boot-tools:spring-boot-loader', configuration: 'mavenRepository')
|
||||
testRepository project(path: ':spring-boot-project:spring-boot-starters:spring-boot-starter', configuration: 'mavenRepository')
|
||||
|
||||
testImplementation enforcedPlatform(project(':spring-boot-project:spring-boot-dependencies'))
|
||||
testImplementation platform(project(':spring-boot-project:spring-boot-dependencies'))
|
||||
testImplementation project(path: ':spring-boot-project:spring-boot-tools:spring-boot-loader-tools')
|
||||
testImplementation 'org.assertj:assertj-core'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'org.springframework.boot.conventions'
|
||||
id 'org.springframework.boot.internal-dependency-management'
|
||||
}
|
||||
|
||||
description = 'Spring Boot Atmosphere smoke test'
|
||||
|
||||
@@ -8,18 +8,18 @@ description = 'Spring Boot Jetty JSP smoke test'
|
||||
dependencies {
|
||||
compileOnly 'jakarta.servlet:jakarta.servlet-api'
|
||||
compileOnly project(':spring-boot-project:spring-boot-starters:spring-boot-starter-jetty')
|
||||
|
||||
|
||||
implementation(project(':spring-boot-project:spring-boot-starters:spring-boot-starter-web')) {
|
||||
exclude module: 'spring-boot-starter-tomcat'
|
||||
}
|
||||
|
||||
providedRuntime enforcedPlatform(project(':spring-boot-project:spring-boot-dependencies'))
|
||||
|
||||
providedRuntime platform(project(':spring-boot-project:spring-boot-dependencies'))
|
||||
providedRuntime('org.eclipse.jetty:apache-jsp') {
|
||||
exclude group: 'javax.annotation', module: 'javax.annotation-api'
|
||||
}
|
||||
|
||||
|
||||
runtimeOnly 'javax.servlet:jstl'
|
||||
|
||||
|
||||
testImplementation project(':spring-boot-project:spring-boot-starters:spring-boot-starter-test')
|
||||
testImplementation project(':spring-boot-project:spring-boot-starters:spring-boot-starter-jetty')
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ dependencies {
|
||||
exclude module: 'spring-boot-starter-tomcat'
|
||||
}
|
||||
|
||||
providedCompile enforcedPlatform(project(':spring-boot-project:spring-boot-dependencies'))
|
||||
providedCompile platform(project(':spring-boot-project:spring-boot-dependencies'))
|
||||
providedCompile 'jakarta.servlet:jakarta.servlet-api'
|
||||
|
||||
testImplementation project(':spring-boot-project:spring-boot-starters:spring-boot-starter-test')
|
||||
|
||||
Reference in New Issue
Block a user