forked from spring-projects/spring-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
44 lines (41 loc) · 1.01 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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"
}
}
}
}
}