This repository has been archived by the owner on Nov 15, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
settings.gradle.kts
120 lines (99 loc) · 3.48 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
@file:Suppress("UnstableApiUsage")
rootProject.name = "http4k-connect"
pluginManagement {
repositories {
mavenLocal {
url = uri("$rootDir/gradle/repo")
}
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.namespace == "org.http4k") {
useModule("org.http4k:gradle-plugins:0.0.0.0")
}
}
}
includeBuild("gradle/gradle-plugins")
}
plugins {
id("de.fayard.refreshVersions").version("0.60.5")
}
refreshVersions {
rejectVersionIf {
candidate.stabilityLevel.isLessStableThan(current.stabilityLevel) ||
setOf("milestone", "-RC").map { it.lowercase() }.any { candidate.value.contains(it) }
}
}
include(":tools")
include(":http4k-connect-ksp-generator")
includeWithName("http4k-connect-bom", "bom")
includeSystem("core")
includeStorage("core")
includeStorage("jdbc")
includeStorage("redis")
includeStorage("s3")
includeStorage("http")
includeCommon("ai-core", "ai/core")
includeVendorSystem("ai", "anthropic")
includeVendorSystem("ai", "azure")
includeVendorSystem("ai", "lmstudio")
includeVendorSystem("ai", "openai")
includeVendorSystem("ai", "ollama")
includeCommon("ai-langchain", "ai/langchain")
includeCommon("ai-openai-plugin", "ai/openai/plugin")
includeCommon("amazon-core", "amazon/core")
includeVendorSystem("amazon", "apprunner")
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("gitlab")
includeSystem("mattermost")
includeSystem("openai", "plugin")
includeCommon("langchain", "langchain")
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")
}