-
Notifications
You must be signed in to change notification settings - Fork 613
/
settings.gradle
102 lines (94 loc) · 3.54 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven { url 'https://repo.spring.io/release' }
if (version.contains('-')) {
maven { url 'https://repo.spring.io/milestone' }
}
if (version.endsWith('-SNAPSHOT')) {
maven { url 'https://repo.spring.io/snapshot' }
}
}
plugins {
id 'org.springframework.boot' version "$springBootVersion"
id 'com.gradle.enterprise' version "$gradleEnterpriseVersion"
id 'io.spring.ge.conventions' version "$springGeConventionsVersion"
}
}
plugins {
id "com.gradle.enterprise"
id "io.spring.ge.conventions"
}
rootProject.name = 'spring-statemachine'
settings.gradle.projectsLoaded {
gradleEnterprise {
buildScan {
def buildDir = settings.gradle.rootProject.getBuildDir()
buildDir.mkdirs()
new File(buildDir, "build-scan-uri.txt").text = "build scan not generated"
buildScanPublished { scan ->
buildDir.mkdirs()
new File(buildDir, "build-scan-uri.txt").text = "<${scan.buildScanUri}|build scan>\n"
}
}
}
}
include 'spring-statemachine-platform'
include 'spring-statemachine-core'
include 'spring-statemachine-test'
include 'spring-statemachine-kryo'
include 'spring-statemachine-zookeeper'
include 'spring-statemachine-cluster'
include 'spring-statemachine-uml'
include 'spring-statemachine-build-tests'
include 'spring-statemachine-recipes'
include 'spring-statemachine-autoconfigure'
include 'spring-statemachine-bom'
include 'spring-statemachine-starter'
include 'spring-statemachine-samples'
include 'spring-statemachine-samples:turnstile'
include 'spring-statemachine-samples:turnstilereactive'
include 'spring-statemachine-samples:showcase'
include 'spring-statemachine-samples:cdplayer'
include 'spring-statemachine-samples:tasks'
include 'spring-statemachine-samples:washer'
include 'spring-statemachine-samples:zookeeper'
include 'spring-statemachine-samples:persist'
include 'spring-statemachine-samples:web'
include 'spring-statemachine-samples:scope'
include 'spring-statemachine-samples:security'
include 'spring-statemachine-samples:eventservice'
include 'spring-statemachine-samples:deploy'
include 'spring-statemachine-samples:ordershipping'
include 'spring-statemachine-samples:datajpa'
include 'spring-statemachine-samples:datajpamultipersist'
include 'spring-statemachine-samples:datapersist'
include 'spring-statemachine-samples:monitoring'
include 'spring-statemachine-data'
include 'spring-statemachine-data:jpa'
include 'spring-statemachine-data:redis'
include 'spring-statemachine-data:mongodb'
include 'docs'
rootProject.children.each { project ->
if (project.name == 'spring-statemachine-data') {
project.name = 'spring-statemachine-data-common'
project.buildFileName = 'spring-statemachine-data.gradle'
project.children.each { subproject ->
subproject.buildFileName = "spring-statemachine-data-${subproject.name}.gradle"
subproject.name = 'spring-statemachine-data-' + subproject.name
}
} else if (project.name == 'spring-statemachine-recipes') {
project.name = 'spring-statemachine-recipes-common'
project.buildFileName = 'spring-statemachine-recipes.gradle'
} else if (project.name == 'spring-statemachine-samples') {
project.name = 'spring-statemachine-samples-common'
project.buildFileName = 'spring-statemachine-samples.gradle'
project.children.each { subproject ->
subproject.buildFileName = "spring-statemachine-samples-${subproject.name}.gradle"
subproject.name = 'spring-statemachine-samples-' + subproject.name
}
} else {
project.buildFileName = "${project.name}.gradle"
}
}