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[]

View File

@@ -4,5 +4,5 @@ plugins {
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation('org.springframework.boot:spring-boot-starter-web')
}

View File

@@ -21,7 +21,7 @@ repositories {
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation('org.jetbrains.kotlin:kotlin-stdlib-jdk8')
}
task kotlinVersion {

View File

@@ -8,5 +8,5 @@ repositories {
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation('org.springframework.boot:spring-boot-starter')
}

View File

@@ -22,6 +22,6 @@ repositories {
}
dependencies {
implementation "org.apache.commons:commons-lang3:3.6"
implementation("org.apache.commons:commons-lang3:3.6")
provided "org.apache.commons:commons-lang3:3.6"
}