Port the build to Gradle
Closes gh-19609 Closes gh-19608
This commit is contained in:
71
settings.gradle
Normal file
71
settings.gradle
Normal file
@@ -0,0 +1,71 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
maven { url 'https://repo.spring.io/snapshot' }
|
||||
}
|
||||
resolutionStrategy {
|
||||
eachPlugin {
|
||||
if (requested.id.id == 'org.jetbrains.kotlin.jvm') {
|
||||
useVersion "${kotlinVersion}"
|
||||
}
|
||||
if (requested.id.id == 'org.jetbrains.kotlin.plugin.spring') {
|
||||
useVersion "${kotlinVersion}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gradle.enterprise' version '3.1'
|
||||
}
|
||||
|
||||
apply from: "$rootDir/gradle/build-scan-user-data.gradle"
|
||||
gradleEnterprise {
|
||||
buildScan {
|
||||
captureTaskInputFiles = true
|
||||
obfuscation {
|
||||
ipAddresses { addresses -> addresses.collect { address -> '0.0.0.0'} }
|
||||
}
|
||||
publishAlwaysIf(System.getenv('GRADLE_ENTERPRISE_URL') != null)
|
||||
server = 'https://ge.spring.io'
|
||||
}
|
||||
}
|
||||
|
||||
apply from: new File(settingsDir, 'gradle/build-cache-settings.gradle')
|
||||
|
||||
rootProject.name='spring-boot-build'
|
||||
|
||||
include 'spring-boot-project:spring-boot-dependencies'
|
||||
include 'spring-boot-project:spring-boot-parent'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-antlib'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-autoconfigure-processor'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-configuration-processor'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-gradle-plugin'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-loader'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-loader-tools'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-maven-plugin'
|
||||
include 'spring-boot-project:spring-boot-tools:spring-boot-test-support'
|
||||
include 'spring-boot-project:spring-boot'
|
||||
include 'spring-boot-project:spring-boot-autoconfigure'
|
||||
include 'spring-boot-project:spring-boot-actuator'
|
||||
include 'spring-boot-project:spring-boot-actuator-autoconfigure'
|
||||
include 'spring-boot-project:spring-boot-cli'
|
||||
include 'spring-boot-project:spring-boot-devtools'
|
||||
include 'spring-boot-project:spring-boot-docs'
|
||||
include 'spring-boot-project:spring-boot-properties-migrator'
|
||||
include 'spring-boot-project:spring-boot-test'
|
||||
include 'spring-boot-project:spring-boot-test-autoconfigure'
|
||||
include 'spring-boot-tests:spring-boot-deployment-tests'
|
||||
include 'spring-boot-tests:spring-boot-integration-tests:spring-boot-configuration-processor-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'
|
||||
|
||||
new File("$rootDir/spring-boot-project/spring-boot-starters").eachFileMatch(groovy.io.FileType.DIRECTORIES, ~/spring-boot-starter.*/) {
|
||||
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.*/) {
|
||||
include "spring-boot-tests:spring-boot-smoke-tests:$it.name"
|
||||
}
|
||||
Reference in New Issue
Block a user