Use platform dependencies instead of the dependency management plugin
Closes gh-42712
This commit is contained in:
parent
f163aa31a8
commit
2c982260df
|
|
@ -3,8 +3,6 @@ plugins {
|
|||
id "org.springframework.boot"
|
||||
}
|
||||
|
||||
apply plugin: "io.spring.dependency-management"
|
||||
|
||||
repositories {
|
||||
maven { url "file:${rootDir}/../docker-test-maven-repository"}
|
||||
mavenCentral()
|
||||
|
|
@ -12,6 +10,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
|
||||
implementation("org.apache.tomcat.embed:tomcat-embed-core")
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ plugins {
|
|||
id "org.springframework.boot"
|
||||
}
|
||||
|
||||
apply plugin: "io.spring.dependency-management"
|
||||
|
||||
repositories {
|
||||
maven { url "file:${rootDir}/../docker-test-maven-repository"}
|
||||
mavenCentral()
|
||||
|
|
@ -12,6 +10,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
implementation("org.webjars:jquery:3.5.0")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,6 @@ plugins {
|
|||
id "org.springframework.boot"
|
||||
}
|
||||
|
||||
apply plugin: "io.spring.dependency-management"
|
||||
|
||||
repositories {
|
||||
maven { url "file:${rootDir}/../docker-test-maven-repository"}
|
||||
mavenCentral()
|
||||
|
|
@ -12,6 +10,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
implementation("org.webjars:jquery:3.5.0")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@ plugins {
|
|||
id "org.springframework.boot"
|
||||
}
|
||||
|
||||
apply plugin: "io.spring.dependency-management"
|
||||
|
||||
repositories {
|
||||
maven { url "file:${rootDir}/../docker-test-maven-repository"}
|
||||
mavenCentral()
|
||||
|
|
@ -14,6 +12,7 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
|
||||
implementation("org.springframework.boot:spring-boot-starter")
|
||||
implementation("org.bouncycastle:bcprov-jdk18on:1.78.1")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ plugins {
|
|||
id "war"
|
||||
}
|
||||
|
||||
apply plugin: "io.spring.dependency-management"
|
||||
|
||||
repositories {
|
||||
maven { url "file:${rootDir}/../test-repository"}
|
||||
mavenCentral()
|
||||
|
|
@ -50,6 +48,7 @@ dependencies {
|
|||
compileOnly("org.eclipse.jetty.ee10:jetty-ee10-servlet")
|
||||
compileOnly("org.springframework:spring-web")
|
||||
|
||||
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
|
||||
implementation("org.springframework.boot:spring-boot-starter")
|
||||
|
||||
app(files(resourcesJar))
|
||||
|
|
|
|||
Loading…
Reference in New Issue