-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.gradle.kts
73 lines (67 loc) · 1.68 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
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
from(files("libs.versions.toml"))
}
}
}
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = "river"
include(
"core",
// "connectors",
"connectors:aws",
"connectors:amqp",
"connectors:apache:kafka",
"connectors:aws:dynamodb",
"connectors:aws:kinesis",
"connectors:aws:lambda",
"connectors:aws:s3",
"connectors:aws:sns",
"connectors:aws:sqs",
"connectors:aws:ses",
"connectors:azure:queue-storage",
"connectors:console",
"connectors:elasticsearch",
"connectors:file",
"connectors:format:csv",
"connectors:format:json",
"connectors:format:positional-flat-line",
"connectors:ftp",
"connectors:github",
"connectors:google:common",
"connectors:google:drive",
"connectors:http",
"connectors:jms",
"connectors:ktor",
"connectors:ktor:network",
"connectors:mongodb",
"connectors:mqtt",
"connectors:rdbms:jdbc",
"connectors:rdbms:r2dbc",
"connectors:red-hat:debezium",
"connectors:openai",
"connectors:redis",
"examples:sqs-to-http",
"examples:s3-csv-jdbc",
"examples:debezium-csv-s3",
"examples:ktor-server-json-streaming"
)
fun replaceConnectorsToSingular(project: ProjectDescriptor) {
project.name =
project
.path
.replaceFirst(":", "")
.replace(":", "-")
.replace("connectors", "connector")
project.children.forEach {
replaceConnectorsToSingular(it)
}
}
replaceConnectorsToSingular(project(":connectors"))