forked from http4k/http4k
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
143 lines (125 loc) · 3.7 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
import org.gradle.internal.impldep.org.bouncycastle.asn1.x500.style.RFC4519Style.name
rootProject.name = "http4k"
plugins {
id("de.fayard.refreshVersions").version("0.40.2")
}
refreshVersions {
enableBuildSrcLibs()
rejectVersionIf {
candidate.stabilityLevel.isLessStableThan(current.stabilityLevel)
}
}
fun String.includeModule(name: String) {
val projectName = "$this-$name"
include(":$projectName")
project(":$projectName").projectDir = File("$this/${name.replace(':', '/')}")
}
fun String.includeSubmodule(name: String) {
include(":$this-$name")
project(":$this-$name").projectDir = File("$this/${name.replace('-', '/')}")
}
fun includeWithDirectory(projectName: String, name: String) {
include("$projectName-$name")
}
include("http4k-core")
include("http4k-aws")
include("http4k-bom")
"http4k-client".apply {
includeModule("apache")
includeModule("apache4")
includeModule("apache-async")
includeModule("apache4-async")
includeModule("fuel")
includeModule("helidon")
includeModule("jetty")
includeModule("okhttp")
includeModule("websocket")
}
include("http4k-cloudevents")
include("http4k-cloudnative")
"http4k-contract".apply {
include(":$this")
project(":$this").projectDir = File("$this/openapi")
includeSubmodule("jsonschema")
includeSubmodule("ui-swagger")
includeSubmodule("ui-redoc")
}
"http4k-format".apply {
includeModule("core")
includeModule("argo")
includeModule("gson")
includeModule("jackson")
includeModule("jackson-xml")
includeModule("jackson-yaml")
includeModule("klaxon")
includeModule("kondor-json")
includeModule("kotlinx-serialization")
includeModule("moshi")
includeModule("moshi-yaml")
includeModule("xml")
includeModule("jackson-csv")
}
include("http4k-graphql")
include("http4k-incubator")
include("http4k-jsonrpc")
include("http4k-metrics-micrometer")
include("http4k-multipart")
include("http4k-failsafe")
include("http4k-resilience4j")
include("http4k-opentelemetry")
include("http4k-realtime-core")
"http4k-server".apply {
includeModule("apache")
includeModule("apache4")
includeModule("helidon")
includeModule("jetty")
includeModule("ktorcio")
includeModule("ktornetty")
includeModule("netty")
includeModule("ratpack")
includeModule("shutdown-integration-test")
includeModule("undertow")
includeModule("websocket")
}
"http4k-serverless".apply {
includeModule("core")
includeModule("alibaba")
includeModule("alibaba:integration-test:test-function")
includeModule("azure")
includeModule("azure:integration-test:test-function")
includeModule("gcf")
includeModule("gcf:integration-test:test-function")
includeModule("lambda")
includeModule("lambda-runtime")
includeModule("lambda:integration-test")
includeModule("lambda:integration-test:test-function")
includeModule("openwhisk")
includeModule("openwhisk:integration-test")
includeModule("openwhisk:integration-test:test-function")
includeModule("tencent")
includeModule("tencent:integration-test:test-function")
}
"http4k-template".apply {
includeModule("core")
includeModule("freemarker")
includeModule("handlebars")
includeModule("rocker")
includeModule("pebble")
includeModule("thymeleaf")
includeModule("jade4j")
}
"http4k-security".apply {
includeModule("core")
includeModule("digest")
includeModule("oauth")
}
"http4k-testing".apply {
includeModule("approval")
includeModule("chaos")
includeModule("hamkrest")
includeModule("kotest")
includeModule("strikt")
includeModule("servirtium")
includeModule("tracerbullet")
includeModule("webdriver")
}