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,7 +7,7 @@ apply plugin: 'io.spring.dependency-management'
// tag::dependencies[]
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation('org.springframework.boot:spring-boot-starter-web')
implementation('org.springframework.boot:spring-boot-starter-data-jpa')
}
// end::dependencies[]

View File

@@ -8,7 +8,7 @@ repositories {
}
dependencies {
runtimeOnly 'org.jruby:jruby-complete:1.7.25'
runtimeOnly('org.jruby:jruby-complete:1.7.25')
}
bootJar {

View File

@@ -7,7 +7,7 @@ apply plugin: 'io.spring.dependency-management'
// tag::dependencies[]
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
implementation('org.springframework.boot:spring-boot-starter-web')
providedRuntime('org.springframework.boot:spring-boot-starter-tomcat')
}
// end::dependencies[]