Simplify Gradle's build settings

See gh-19619
pull/19621/head
Vedran Pavic 5 years ago committed by Andy Wilkinson
parent e8c4a8590f
commit 57b7dfc730

@ -13,4 +13,4 @@ pluginManagement {
} }
} }
apply from: new File(settingsDir, '../gradle/build-cache-settings.gradle') apply from: "$settingsDir/../gradle/build-cache-settings.gradle"

@ -32,7 +32,7 @@ gradleEnterprise {
} }
} }
apply from: new File(settingsDir, 'gradle/build-cache-settings.gradle') apply from: "$settingsDir/gradle/build-cache-settings.gradle"
rootProject.name='spring-boot-build' rootProject.name='spring-boot-build'
@ -62,10 +62,10 @@ include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-configurati
include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-launch-script-tests' include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-launch-script-tests'
include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-server-tests' include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-server-tests'
new File("$rootDir/spring-boot-project/spring-boot-starters").eachFileMatch(groovy.io.FileType.DIRECTORIES, ~/spring-boot-starter.*/) { file("$rootDir/spring-boot-project/spring-boot-starters").eachDirMatch(~/spring-boot-starter.*/) {
include "spring-boot-project:spring-boot-starters:$it.name" include "spring-boot-project:spring-boot-starters:$it.name"
} }
new File("$rootDir/spring-boot-tests/spring-boot-smoke-tests").eachFileMatch(groovy.io.FileType.DIRECTORIES, ~/spring-boot-smoke-test.*/) { file("$rootDir/spring-boot-tests/spring-boot-smoke-tests").eachDirMatch(~/spring-boot-smoke-test.*/) {
include "spring-boot-tests:spring-boot-smoke-tests:$it.name" include "spring-boot-tests:spring-boot-smoke-tests:$it.name"
} }

Loading…
Cancel
Save