Polish Gradle expression references

Expand all expression `$` references to the full `${...}` form.
This commit is contained in:
Phillip Webb
2020-01-21 18:33:33 -08:00
parent 89237634c7
commit bfd2ca7fd9
29 changed files with 60 additions and 60 deletions

View File

@@ -6,7 +6,7 @@ plugins {
apply plugin: 'io.spring.dependency-management'
repositories {
maven { url "file:$rootDir/../int-test-maven-repository"}
maven { url "file:${rootDir}/../int-test-maven-repository"}
mavenCentral()
maven { url 'https://repo.spring.io/snapshot' }
maven { url 'https://repo.spring.io/milestone' }

View File

@@ -1,6 +1,6 @@
pluginManagement {
repositories {
maven { url "file:$rootDir/../int-test-maven-repository"}
maven { url "file:${rootDir}/../int-test-maven-repository"}
mavenCentral()
maven { url 'https://repo.spring.io/snapshot' }
maven { url 'https://repo.spring.io/milestone' }

View File

@@ -22,12 +22,12 @@ dependencies {
task syncMavenRepository(type: Sync) {
from configurations.app
into "$buildDir/int-test-maven-repository"
into "${buildDir}/int-test-maven-repository"
}
task syncAppSource(type: Sync) {
from 'app'
into "$buildDir/app"
into "${buildDir}/app"
filter { line ->
line.replace("id 'org.springframework.boot'", "id 'org.springframework.boot' version '${project.version}'")
}
@@ -35,7 +35,7 @@ task syncAppSource(type: Sync) {
task buildApp(type: GradleBuild) {
dependsOn syncAppSource, syncMavenRepository
dir = "$buildDir/app"
dir = "${buildDir}/app"
startParameter.buildCacheEnabled = false
tasks = ['build']
}

View File

@@ -35,7 +35,7 @@ dependencies {
}
task prepareMavenBinaries(type: org.springframework.boot.build.mavenplugin.PrepareMavenBinaries) {
outputDir = file("$buildDir/maven-binaries")
outputDir = file("${buildDir}/maven-binaries")
versions '3.6.2'
}