Files
spring-graphql/settings.gradle
Brian Clozel 59b0d76d8d Temporarily ignore samples
Spring for GraphQL auto-configuration is not supported yet in Spring
Boot 3.0 SNAPSHOTs, so we need to ignore Spring Boot samples until
SNAPSHOTs are produced.

See gh-424
2022-06-24 14:56:40 +02:00

45 lines
1.0 KiB
Groovy

pluginManagement {
repositories {
mavenCentral()
maven {
url 'https://repo.spring.io/release'
}
maven {
url "https://repo.spring.io/snapshot"
}
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == 'org.springframework.boot') {
useModule("org.springframework.boot:spring-boot-gradle-plugin:${requested.version}")
}
}
}
}
plugins {
id "com.gradle.enterprise" version "3.10.2"
id "io.spring.ge.conventions" version "0.0.9"
}
rootProject.name = 'spring-graphql'
include 'spring-graphql',
'spring-graphql-test',
'spring-graphql-docs'
settings.gradle.projectsLoaded {
gradleEnterprise {
buildScan {
File buildDir = settings.gradle.rootProject.getBuildDir()
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"
}
}
}
}
}