Use parentheses when declaring dependencies
Update all dependencies declarations to use the form `scope(reference)` rather than `scope reference`. Prior to this commit we declared dependencies without parentheses unless we were forced to add them due to an `exclude`.
This commit is contained in:
@@ -6,12 +6,12 @@ plugins {
|
||||
description = "Spring Boot Configuration Processor Tests"
|
||||
|
||||
dependencies {
|
||||
annotationProcessor project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-processor")
|
||||
annotationProcessor(project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-processor"))
|
||||
|
||||
implementation enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies"))
|
||||
implementation project(":spring-boot-project:spring-boot")
|
||||
implementation "jakarta.validation:jakarta.validation-api"
|
||||
implementation(enforcedPlatform(project(":spring-boot-project:spring-boot-dependencies")))
|
||||
implementation(project(":spring-boot-project:spring-boot"))
|
||||
implementation("jakarta.validation:jakarta.validation-api")
|
||||
|
||||
testImplementation project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")
|
||||
testImplementation project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata")
|
||||
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata"))
|
||||
}
|
||||
@@ -13,7 +13,7 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.springframework.boot:spring-boot-starter-web"
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
}
|
||||
|
||||
bootJar {
|
||||
|
||||
@@ -14,10 +14,10 @@ dependencies {
|
||||
app project(path: ":spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin", configuration: "mavenRepository")
|
||||
app project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-web", configuration: "mavenRepository")
|
||||
|
||||
intTestImplementation enforcedPlatform(project(":spring-boot-project:spring-boot-parent"))
|
||||
intTestImplementation project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")
|
||||
intTestImplementation project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")
|
||||
intTestImplementation "org.testcontainers:testcontainers"
|
||||
intTestImplementation(enforcedPlatform(project(":spring-boot-project:spring-boot-parent")))
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
intTestImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
intTestImplementation("org.testcontainers:testcontainers")
|
||||
}
|
||||
|
||||
task syncMavenRepository(type: Sync) {
|
||||
|
||||
@@ -10,27 +10,27 @@ configurations {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testImplementation project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test")
|
||||
testImplementation project(":spring-boot-project:spring-boot-tools:spring-boot-test-support")
|
||||
testImplementation "com.samskivert:jmustache"
|
||||
testImplementation "jakarta.servlet:jakarta.servlet-api"
|
||||
testImplementation "org.apache.httpcomponents:httpasyncclient"
|
||||
testImplementation "org.apache.maven.shared:maven-invoker:3.0.0"
|
||||
testImplementation "org.awaitility:awaitility"
|
||||
testImplementation(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-test"))
|
||||
testImplementation(project(":spring-boot-project:spring-boot-tools:spring-boot-test-support"))
|
||||
testImplementation("com.samskivert:jmustache")
|
||||
testImplementation("jakarta.servlet:jakarta.servlet-api")
|
||||
testImplementation("org.apache.httpcomponents:httpasyncclient")
|
||||
testImplementation("org.apache.maven.shared:maven-invoker:3.0.0")
|
||||
testImplementation("org.awaitility:awaitility")
|
||||
testImplementation("org.eclipse.jetty:jetty-webapp") {
|
||||
exclude group: "javax.servlet", module: "javax-servlet-api"
|
||||
}
|
||||
testImplementation "org.springframework:spring-web"
|
||||
testImplementation("org.springframework:spring-web")
|
||||
|
||||
testRepository project(path: ":spring-boot-project:spring-boot-dependencies", configuration: "mavenRepository")
|
||||
testRepository project(path: ":spring-boot-project:spring-boot-tools:spring-boot-maven-plugin", configuration: "mavenRepository")
|
||||
testRepository project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter", configuration: "mavenRepository")
|
||||
testRepository project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty", configuration: "mavenRepository")
|
||||
testRepository project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-parent", configuration: "mavenRepository")
|
||||
testRepository project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat", configuration: "mavenRepository")
|
||||
testRepository project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-undertow", configuration: "mavenRepository")
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-dependencies", configuration: "mavenRepository"))
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-tools:spring-boot-maven-plugin", configuration: "mavenRepository"))
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter", configuration: "mavenRepository"))
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-jetty", configuration: "mavenRepository"))
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-parent", configuration: "mavenRepository"))
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-tomcat", configuration: "mavenRepository"))
|
||||
testRepository(project(path: ":spring-boot-project:spring-boot-starters:spring-boot-starter-undertow", configuration: "mavenRepository"))
|
||||
|
||||
testRuntimeOnly project(":spring-boot-project:spring-boot-starters:spring-boot-starter-logging")
|
||||
testRuntimeOnly(project(":spring-boot-project:spring-boot-starters:spring-boot-starter-logging"))
|
||||
}
|
||||
|
||||
task prepareMavenBinaries(type: org.springframework.boot.build.mavenplugin.PrepareMavenBinaries) {
|
||||
|
||||
Reference in New Issue
Block a user