-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
159 lines (137 loc) · 7.53 KB
/
settings.gradle.kts
File metadata and controls
159 lines (137 loc) · 7.53 KB
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
153
154
155
156
157
158
159
rootProject.name = "social-publish-multiproject"
include("backend")
include("frontend")
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
// Versions
version("kotlin", "2.3.0")
version("ktor", "3.4.0")
version("arrow", "2.2.1.1")
version("jdbi", "3.51.0")
version("logback", "1.5.25")
version("clikt", "5.1.0")
version("kotlinx-serialization", "1.9.0")
version("sqlite-jdbc", "3.51.1.0")
version("kotlin-logging", "7.0.14")
version("rome", "2.1.0")
version("scribejava", "8.3.3")
version("jsoup", "1.18.3")
version("bcrypt", "0.10.2")
version("jbcrypt", "0.4")
version("mockk", "1.14.7")
version("kotlinx-coroutines", "1.10.2")
version("common-text", "1.15.0")
version("apache-tika", "3.2.3")
version("hikaricp", "7.0.2")
version("compose", "1.10.0")
// Kotlin libraries
library("kotlin-stdlib", "org.jetbrains.kotlin", "kotlin-stdlib").withoutVersion()
// Arrow libraries
library("arrow-core", "io.arrow-kt", "arrow-core").versionRef("arrow")
library("arrow-fx-coroutines", "io.arrow-kt", "arrow-fx-coroutines").versionRef("arrow")
library("arrow-suspendapp", "io.arrow-kt", "suspendapp-jvm").versionRef("arrow")
library("arrow-suspendapp-ktor", "io.arrow-kt", "suspendapp-ktor-jvm").versionRef("arrow")
// Ktor server libraries
library("ktor-server-core", "io.ktor", "ktor-server-core").versionRef("ktor")
library("ktor-server-cio", "io.ktor", "ktor-server-cio").versionRef("ktor")
library("ktor-server-content-negotiation", "io.ktor", "ktor-server-content-negotiation").versionRef("ktor")
library("ktor-serialization-kotlinx-json", "io.ktor", "ktor-serialization-kotlinx-json").versionRef("ktor")
library("ktor-server-auth", "io.ktor", "ktor-server-auth").versionRef("ktor")
library("ktor-server-auth-jwt", "io.ktor", "ktor-server-auth-jwt").versionRef("ktor")
library("ktor-server-status-pages", "io.ktor", "ktor-server-status-pages").versionRef("ktor")
library("ktor-server-call-logging", "io.ktor", "ktor-server-call-logging").versionRef("ktor")
library("ktor-server-cors", "io.ktor", "ktor-server-cors").versionRef("ktor")
library("ktor-server-rate-limit", "io.ktor", "ktor-server-rate-limit").versionRef("ktor")
library("ktor-server-routing-openapi", "io.ktor", "ktor-server-routing-openapi").versionRef("ktor")
library("ktor-server-swagger", "io.ktor", "ktor-server-swagger").versionRef("ktor")
// Ktor client libraries
library("ktor-client-core", "io.ktor", "ktor-client-core").versionRef("ktor")
library("ktor-client-cio", "io.ktor", "ktor-client-cio").versionRef("ktor")
library("ktor-client-content-negotiation", "io.ktor", "ktor-client-content-negotiation").versionRef("ktor")
library("ktor-client-logging", "io.ktor", "ktor-client-logging").versionRef("ktor")
library("ktor-client-auth", "io.ktor", "ktor-client-auth").versionRef("ktor")
// Kotlinx Serialization
library("kotlinx-serialization-json", "org.jetbrains.kotlinx", "kotlinx-serialization-json").versionRef("kotlinx-serialization")
// Kotlinx Coroutines
library("kotlinx-coroutines-core", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").versionRef("kotlinx-coroutines")
// JDBI libraries
library("jdbi-core", "org.jdbi", "jdbi3-core").versionRef("jdbi")
library("jdbi-kotlin", "org.jdbi", "jdbi3-kotlin").versionRef("jdbi")
library("jdbi-kotlin-sqlobject", "org.jdbi", "jdbi3-kotlin-sqlobject").versionRef("jdbi")
library("sqlite-jdbc", "org.xerial", "sqlite-jdbc").versionRef("sqlite-jdbc")
// HikariCP for connection pooling
library("hikaricp", "com.zaxxer", "HikariCP").versionRef("hikaricp")
// Clikt for CLI
library("clikt", "com.github.ajalt.clikt", "clikt").versionRef("clikt")
// Logging
library("logback-classic", "ch.qos.logback", "logback-classic").versionRef("logback")
library("kotlin-logging", "io.github.oshai", "kotlin-logging-jvm").versionRef("kotlin-logging")
// RSS generation
library("rome", "com.rometools", "rome").versionRef("rome")
// OAuth
library("scribejava-core", "com.github.scribejava", "scribejava-core").versionRef("scribejava")
// HTML parsing
library("jsoup", "org.jsoup", "jsoup").versionRef("jsoup")
// BCrypt for password hashing
library("bcrypt", "at.favre.lib", "bcrypt").versionRef("bcrypt")
library("jbcrypt", "org.mindrot", "jbcrypt").versionRef("jbcrypt")
// Common Text for escaping (e.g., shell commands)
library("apache-commons-text", "org.apache.commons", "commons-text")
.versionRef("common-text")
// Mime-type detection
library("apache-tika-core", "org.apache.tika", "tika-core")
.versionRef("apache-tika")
// Frontend, Compose for Web
library("compose.html.core", "org.jetbrains.compose.html", "html-core")
.versionRef("compose")
library("compose.runtime", "org.jetbrains.compose.runtime", "runtime")
.versionRef("compose")
// Testing libraries
library("kotlin-test", "org.jetbrains.kotlin", "kotlin-test").versionRef("kotlin")
library("ktor-server-test-host", "io.ktor", "ktor-server-test-host").versionRef("ktor")
library("ktor-client-mock", "io.ktor", "ktor-client-mock").versionRef("ktor")
library("mockk", "io.mockk", "mockk").versionRef("mockk")
library("kotlinx-coroutines-test", "org.jetbrains.kotlinx", "kotlinx-coroutines-test").versionRef("kotlinx-coroutines")
// Bundles for grouped dependencies
bundle(
"arrow",
listOf(
"arrow-core",
"arrow-fx-coroutines",
"arrow-suspendapp",
"arrow-suspendapp-ktor",
)
)
bundle(
"ktor-server",
listOf(
"ktor-server-core",
"ktor-server-cio",
"ktor-server-content-negotiation",
"ktor-serialization-kotlinx-json",
"ktor-server-auth",
"ktor-server-auth-jwt",
"ktor-server-status-pages",
"ktor-server-call-logging",
"ktor-server-cors",
"ktor-server-rate-limit",
"ktor-server-routing-openapi",
"ktor-server-swagger",
),
)
bundle(
"ktor-client",
listOf(
"ktor-client-core",
"ktor-client-cio",
"ktor-client-content-negotiation",
"ktor-client-logging",
"ktor-client-auth",
),
)
bundle("jdbi", listOf("jdbi-core", "jdbi-kotlin", "jdbi-kotlin-sqlobject"))
bundle("logging", listOf("logback-classic", "kotlin-logging"))
}
}
}