forked from http4k/http4k-connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
87 lines (74 loc) · 2.58 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
pluginManagement {
repositories {
gradlePluginPortal()
}
}
plugins {
id("de.fayard.refreshVersions").version("0.60.3")
}
refreshVersions {
enableBuildSrcLibs()
rejectVersionIf {
candidate.stabilityLevel.isLessStableThan(current.stabilityLevel)
}
}
include(":http4k-connect-ksp-generator")
includeWithName("http4k-connect-bom", "bom")
includeSystem("core")
includeStorage("core")
includeStorage("jdbc")
includeStorage("redis")
includeStorage("s3")
includeStorage("http")
includeCommon("amazon-core", "amazon/core")
includeVendorSystem("amazon", "cloudfront")
includeVendorSystem("amazon", "cloudwatchlogs")
includeVendorSystem("amazon", "cognito")
includeVendorSystem("amazon", "containercredentials")
includeVendorSystem("amazon", "eventbridge")
includeVendorSystem("amazon", "firehose")
includeVendorSystem("amazon", "instancemetadata")
includeVendorSystem("amazon", "dynamodb")
includeVendorSystem("amazon", "iamidentitycenter")
includeVendorSystem("amazon", "kms")
includeVendorSystem("amazon", "lambda")
includeVendorSystem("amazon", "s3")
includeVendorSystem("amazon", "secretsmanager")
includeVendorSystem("amazon", "sns")
includeVendorSystem("amazon", "ses")
includeVendorSystem("amazon", "sqs")
includeVendorSystem("amazon", "sts")
includeVendorSystem("amazon", "systemsmanager")
includeVendorSystem("amazon", "evidently")
includeSystem("example")
includeSystem("github")
includeSystem("mattermost")
includeSystem("openai", "plugin")
includeVendorSystem("kafka", "rest")
includeVendorSystem("kafka", "schemaregistry")
includeCommon("google-analytics-core", "google/analytics-core")
includeVendorSystem("google", "analytics-ua")
includeVendorSystem("google", "analytics-ga4")
fun includeSystem(system: String, vararg extraModules: String) {
val projectName = "http4k-connect-$system"
includeWithName(projectName, "$system/client")
includeWithName("$projectName-fake", "$system/fake")
extraModules.forEach {
includeWithName("$projectName-$it", "$system/$it")
}
}
fun includeVendorSystem(owner: String, system: String) {
val projectName = "http4k-connect-$owner-$system"
includeWithName(projectName, "$owner/$system/client")
includeWithName("$projectName-fake", "$owner/$system/fake")
}
fun includeCommon(projectName: String, file: String) {
includeWithName("http4k-connect-$projectName", file)
}
fun includeWithName(projectName: String, file: String) {
include(":$projectName")
project(":$projectName").projectDir = File(file)
}
fun includeStorage(name: String) {
includeWithName("http4k-connect-storage-$name", "storage/$name")
}