101 lines
4.3 KiB
Groovy
101 lines
4.3 KiB
Groovy
/*
|
|
* Copyright 2012-present the original author or authors.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the License);
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* https://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
pluginManagement {
|
|
evaluate(new File("${rootDir}/buildSrc/SpringRepositorySupport.groovy")).apply(this)
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
spring.mavenRepositories();
|
|
}
|
|
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 "io.spring.develocity.conventions" version "0.0.22"
|
|
}
|
|
|
|
rootProject.name="spring-boot-build"
|
|
|
|
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
|
|
|
|
settings.gradle.projectsLoaded {
|
|
develocity {
|
|
buildScan {
|
|
def toolchainVersion = settings.gradle.rootProject.findProperty('toolchainVersion')
|
|
if (toolchainVersion != null) {
|
|
value('Toolchain version', toolchainVersion)
|
|
tag("JDK-$toolchainVersion")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
include "spring-boot-project:spring-boot"
|
|
include "spring-boot-project:spring-boot-actuator"
|
|
include "spring-boot-project:spring-boot-actuator-autoconfigure"
|
|
include "spring-boot-project:spring-boot-autoconfigure"
|
|
include "spring-boot-project:spring-boot-dependencies"
|
|
include "spring-boot-project:spring-boot-devtools"
|
|
include "spring-boot-project:spring-boot-docker-compose"
|
|
include "spring-boot-project:spring-boot-docs"
|
|
include "spring-boot-project:spring-boot-parent"
|
|
include "spring-boot-project:spring-boot-test"
|
|
include "spring-boot-project:spring-boot-test-autoconfigure"
|
|
include "spring-boot-project:spring-boot-testcontainers"
|
|
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-buildpack-platform"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-cli"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata-changelog-generator"
|
|
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-gradle-test-support"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-jarmode-tools"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-loader"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-loader-classic"
|
|
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-properties-migrator"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-test-support"
|
|
include "spring-boot-project:spring-boot-tools:spring-boot-test-support-docker"
|
|
include "spring-boot-system-tests:spring-boot-deployment-tests"
|
|
include "spring-boot-system-tests:spring-boot-image-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-loader-classic-tests"
|
|
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-loader-tests"
|
|
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-server-tests"
|
|
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-sni-tests"
|
|
|
|
file("${rootDir}/spring-boot-project/spring-boot-starters").eachDirMatch(~/spring-boot-starter.*/) {
|
|
include "spring-boot-project:spring-boot-starters:${it.name}"
|
|
}
|
|
|
|
file("${rootDir}/spring-boot-tests/spring-boot-smoke-tests").eachDirMatch(~/spring-boot-smoke-test.*/) {
|
|
include "spring-boot-tests:spring-boot-smoke-tests:${it.name}"
|
|
}
|