-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathsettings.gradle.kts
53 lines (34 loc) · 1.23 KB
/
settings.gradle.kts
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
// SPDX-License-Identifier: Apache-2.0
plugins { id("com.gradle.develocity") version ("3.17") }
rootProject.name = "hedera-mirror-node"
include(":hedera-mirror-common")
include(":hedera-mirror-graphql")
include(":hedera-mirror-grpc")
include(":hedera-mirror-importer")
include(":hedera-mirror-monitor")
include(":hedera-mirror-protobuf")
include(":hedera-mirror-rest")
include(":hedera-mirror-rest-java")
include(":hedera-mirror-rest:check-state-proof")
include(":hedera-mirror-rest:monitoring")
include(":hedera-mirror-rosetta")
include(":hedera-mirror-test")
include(":hedera-mirror-web3")
shortenProjectName(rootProject)
// Shorten project name to remove verbose "hedera-mirror-" prefix
fun shortenProjectName(project: ProjectDescriptor) {
if (project != rootProject) {
project.name = project.name.removePrefix("hedera-mirror-")
}
project.children.forEach(this::shortenProjectName)
}
develocity {
buildScan {
publishing.onlyIf { System.getenv().containsKey("CI") }
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
tag("CI")
}
}
// Temporarily workaround sonarqube depends on compile task warning
System.setProperty("sonar.gradle.skipCompile", "true")