forked from hashgraph/hedera-services
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
152 lines (95 loc) · 4.89 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
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
/*
* Copyright (C) 2022-2023 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
pluginManagement { includeBuild("build-logic") }
plugins { id("com.hedera.hashgraph.settings") }
// "BOM" with versions of 3rd party dependencies
include("hedera-dependency-versions")
// Hedera Node projects
include(":app", "hedera-node/hedera-app")
include(":app-hapi-fees", "hedera-node/hapi-fees")
include(":app-hapi-utils", "hedera-node/hapi-utils")
include(":app-service-consensus", "hedera-node/hedera-consensus-service")
include(":app-service-consensus-impl", "hedera-node/hedera-consensus-service-impl")
include(":app-service-contract", "hedera-node/hedera-smart-contract-service")
include(":app-service-contract-impl", "hedera-node/hedera-smart-contract-service-impl")
include(":app-service-evm", "hedera-node/hedera-evm")
include(":app-service-evm-impl", "hedera-node/hedera-evm-impl")
include(":app-service-file", "hedera-node/hedera-file-service")
include(":app-service-file-impl", "hedera-node/hedera-file-service-impl")
include(":app-service-mono", "hedera-node/hedera-mono-service")
include(":app-service-network-admin", "hedera-node/hedera-network-admin-service")
include(":app-service-network-admin-impl", "hedera-node/hedera-network-admin-service-impl")
include(":app-service-schedule", "hedera-node/hedera-schedule-service")
include(":app-service-schedule-impl", "hedera-node/hedera-schedule-service-impl")
include(":app-service-token", "hedera-node/hedera-token-service")
include(":app-service-token-impl", "hedera-node/hedera-token-service-impl")
include(":app-service-util", "hedera-node/hedera-util-service")
include(":app-service-util-impl", "hedera-node/hedera-util-service-impl")
include(":app-spi", "hedera-node/hedera-app-spi")
include(":config", "hedera-node/hedera-config")
include(":hapi", "hedera-node/hapi")
include(":services-cli", "hedera-node/cli-clients")
include(":test-clients", "hedera-node/test-clients")
// Platform SDK projects
include(":swirlds-platform", "platform-sdk")
include(":swirlds", "platform-sdk/swirlds")
include(":swirlds-base", "platform-sdk/swirlds-base")
include(":swirlds-logging", "platform-sdk/swirlds-logging")
include(":swirlds-common", "platform-sdk/swirlds-common")
include(":swirlds-sign-tool", "platform-sdk/swirlds-sign-tool")
include(":swirlds-config-api", "platform-sdk/swirlds-config-api")
include(":swirlds-config-processor", "platform-sdk/swirlds-config-processor")
include(":swirlds-config-impl", "platform-sdk/swirlds-config-impl")
include(":swirlds-config-extensions", "platform-sdk/swirlds-config-extensions")
include(":swirlds-fchashmap", "platform-sdk/swirlds-fchashmap")
include(":swirlds-fcqueue", "platform-sdk/swirlds-fcqueue")
include(":swirlds-merkle", "platform-sdk/swirlds-merkle")
include(":swirlds-merkledb", "platform-sdk/swirlds-jasperdb")
include(":swirlds-virtualmap", "platform-sdk/swirlds-virtualmap")
include(":swirlds-platform-core", "platform-sdk/swirlds-platform-core")
include(":swirlds-cli", "platform-sdk/swirlds-cli")
include(":swirlds-benchmarks", "platform-sdk/swirlds-benchmarks")
include(":swirlds-test-framework", "platform-sdk/swirlds-unit-tests/common/swirlds-test-framework")
include(":swirlds-common-testing", "platform-sdk/swirlds-unit-tests/common/swirlds-common-test")
include(":swirlds-platform-test", "platform-sdk/swirlds-unit-tests/core/swirlds-platform-test")
include(":swirlds-merkle-test", "platform-sdk/swirlds-unit-tests/structures/swirlds-merkle-test")
// Platform demo/test applications
includeAllProjects("platform-sdk/platform-apps/demos")
includeAllProjects("platform-sdk/platform-apps/tests")
fun include(name: String, path: String) {
include(name)
project(name).projectDir = File(rootDir, path)
}
fun includeAllProjects(containingFolder: String) {
File(rootDir, containingFolder).listFiles()?.forEach { folder ->
if (File(folder, "build.gradle.kts").exists()) {
val name = ":${folder.name}"
include(name)
project(name).projectDir = folder
}
}
}
// The HAPI API version to use for Protobuf sources.
val hapiProtoVersion = "0.44.0"
dependencyResolutionManagement {
// Protobuf tool versions
versionCatalogs.create("libs") {
version("google-proto", "3.19.4")
version("grpc-proto", "1.45.1")
version("hapi-proto", hapiProtoVersion)
plugin("pbj", "com.hedera.pbj.pbj-compiler").version("0.7.6")
}
}