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:
Phillip Webb
2020-01-22 14:09:17 -08:00
parent 0209cd3e4c
commit e0013454b5
174 changed files with 1481 additions and 1481 deletions

View File

@@ -7,33 +7,33 @@ plugins {
description = "Spring Boot Testing Support"
dependencies {
api platform(project(path: ":spring-boot-project:spring-boot-parent"))
api(platform(project(path: ":spring-boot-project:spring-boot-parent")))
compileOnly "com.datastax.oss:java-driver-core"
compileOnly "javax.servlet:javax.servlet-api"
compileOnly "junit:junit"
compileOnly "org.junit.jupiter:junit-jupiter"
compileOnly "org.junit.platform:junit-platform-engine"
compileOnly "org.mockito:mockito-core"
compileOnly "org.neo4j:neo4j-ogm-core"
compileOnly "org.springframework:spring-context"
compileOnly "org.springframework.data:spring-data-redis"
compileOnly "org.testcontainers:testcontainers"
compileOnly("com.datastax.oss:java-driver-core")
compileOnly("javax.servlet:javax.servlet-api")
compileOnly("junit:junit")
compileOnly("org.junit.jupiter:junit-jupiter")
compileOnly("org.junit.platform:junit-platform-engine")
compileOnly("org.mockito:mockito-core")
compileOnly("org.neo4j:neo4j-ogm-core")
compileOnly("org.springframework:spring-context")
compileOnly("org.springframework.data:spring-data-redis")
compileOnly("org.testcontainers:testcontainers")
implementation "org.apache.maven.resolver:maven-resolver-connector-basic"
implementation "org.apache.maven.resolver:maven-resolver-impl"
implementation "org.apache.maven:maven-resolver-provider"
implementation("org.apache.maven.resolver:maven-resolver-connector-basic")
implementation("org.apache.maven.resolver:maven-resolver-impl")
implementation("org.apache.maven:maven-resolver-provider")
implementation("org.apache.maven.resolver:maven-resolver-transport-http") {
exclude group: "org.slf4j", module: "jcl-over-slf4j"
}
implementation "org.assertj:assertj-core"
implementation "org.hamcrest:hamcrest-core"
implementation "org.hamcrest:hamcrest-library"
implementation "org.springframework:spring-core"
implementation("org.assertj:assertj-core")
implementation("org.hamcrest:hamcrest-core")
implementation("org.hamcrest:hamcrest-library")
implementation("org.springframework:spring-core")
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "org.springframework:spring-context"
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.springframework:spring-context")
testRuntimeOnly "org.hibernate.validator:hibernate-validator"
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
testRuntimeOnly("org.hibernate.validator:hibernate-validator")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}