Files
spring-graphql/settings.gradle
2024-10-17 15:52:26 +02:00

40 lines
939 B
Groovy

pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == 'org.springframework.boot') {
useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}")
}
}
}
}
plugins {
id "io.spring.develocity.conventions" version "0.0.22"
}
rootProject.name = 'spring-graphql'
include 'platform',
'spring-graphql',
'spring-graphql-test',
'spring-graphql-docs'
settings.gradle.projectsLoaded {
develocity {
buildScan {
File buildDir = settings.gradle.rootProject
.getLayout().getBuildDirectory().getAsFile().get()
buildDir.mkdirs()
new File(buildDir, "build-scan-uri.txt").text = "(build scan not generated)"
buildScanPublished { scan ->
if (buildDir.exists()) {
new File(buildDir, "build-scan-uri.txt").text = "${scan.buildScanUri}\n"
}
}
}
}
}