-
Notifications
You must be signed in to change notification settings - Fork 160
/
settings.gradle.kts
199 lines (139 loc) · 5.49 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
rootProject.name = "kotlin-wrappers"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
create("libs") {
val karakumVersion = extra["karakum.version"] as String
plugin("karakum", "io.github.sgrishchenko.karakum").version(karakumVersion)
val kotlinVersion = extra["kotlin.version"] as String
library("kotlin-test", "org.jetbrains.kotlin", "kotlin-test").version(kotlinVersion)
library("kotlin-testJunit", "org.jetbrains.kotlin", "kotlin-test-junit").version(kotlinVersion)
val coroutinesVersion = extra["kotlinx-coroutines.version"] as String
library("coroutines-core", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").version(coroutinesVersion)
library("coroutines-test", "org.jetbrains.kotlinx", "kotlinx-coroutines-test").version(coroutinesVersion)
val htmlVersion = extra["kotlinx-html.version"] as String
library("kotlinx-html", "org.jetbrains.kotlinx", "kotlinx-html").version(htmlVersion)
file("gradle.properties").readText()
.splitToSequence("# https://www.npmjs.com/package/")
.drop(1)
.filter { ".npm.version=" in it }
.forEach { data ->
val packageName = data.substringBefore("\n")
val packageAlias = packageName
.removePrefix("@")
.replace(
regex = Regex("""-(\w)"""),
transform = { it.groupValues[1].uppercase() }
)
.replace("/", "-")
val version = data
.substringAfter("\n")
.substringBefore("\n")
.substringAfter("=", "")
library("npm-$packageAlias", "npm", packageName).version(version)
}
}
}
}
include("docs")
// Kotlin/JS: GitHub Actions Toolkit wrappers
include("kotlin-actions-toolkit")
// Kotlin/JS: Browser APIs missing from the standard library
include("kotlin-browser")
// Kotlin/JS: CesiumJS wrappers
include("kotlin-cesium-engine")
// Kotlin/JS: CesiumJS wrappers
include("kotlin-cesium-widgets")
// Platform-agnostic CSS support
include("kotlin-css")
// Kotlin/JS: Zero-runtime CSS core typings
include("kotlin-cssom-core")
// Kotlin/JS: Zero-runtime CSS typings
include("kotlin-csstype")
// Kotlin/JS: Electron wrappers
include("kotlin-electron")
// Kotlin/JS: Emotion wrappers
include("kotlin-emotion")
// Kotlin/JS: APIs missing from the standard library
include("kotlin-js")
// Kotlin/JS: Helper for `kotlin-js`
include("kotlin-js-core")
// Kotlin/JS: Material UI wrappers
include("kotlin-mui-material")
// Kotlin/JS: MUI Base UI wrappers
include("kotlin-mui-base")
// Kotlin/JS: Material UI Icons wrappers
include("kotlin-mui-icons-material")
// Kotlin/JS: MUI Lab wrappers
include("kotlin-mui-lab")
// Kotlin/JS: MUI System wrappers
include("kotlin-mui-system")
// Kotlin/JS: MUI X Date Pickers wrappers
include("kotlin-muix-date-pickers")
// Kotlin/JS: MUI X Tree View wrappers
include("kotlin-muix-tree-view")
// Kotlin/JS: Node.js wrappers
include("kotlin-node")
// Kotlin/JS: null-writable wrappers
include("kotlin-null-writable")
// Kotlin/JS: Popper Core wrappers
include("kotlin-popperjs-core")
// Kotlin/JS: Preact Signals Core wrappers
include("kotlin-preact-signals-core")
// Kotlin/JS: Preact Signals React wrappers
include("kotlin-preact-signals-react")
// Kotlin/JS: React wrappers
include("kotlin-react")
// Kotlin/JS: react-beautiful-dnd wrappers
include("kotlin-react-beautiful-dnd")
// Kotlin/JS: React wrappers
include("kotlin-react-core")
// Kotlin/JS: React DOM wrappers
include("kotlin-react-dom")
// Kotlin/JS: React DOM legacy wrappers
include("kotlin-react-dom-legacy")
// Kotlin/JS: React DOM Test Utilities wrappers
include("kotlin-react-dom-test-utils")
// Kotlin/JS: React legacy wrappers
include("kotlin-react-legacy")
// Kotlin/JS: React Popper wrappers
include("kotlin-react-popper")
// Kotlin/JS: React Router wrappers
include("kotlin-react-router")
// Kotlin/JS: React Router DOM wrappers
include("kotlin-react-router-dom")
// Kotlin/JS: React Select wrappers
include("kotlin-react-select")
// Kotlin/JS: React Use wrappers
include("kotlin-react-use")
// Kotlin/JS: React Router wrappers
include("kotlin-remix-run-router")
// Kotlin/JS: semver wrappers
include("kotlin-semver")
// Kotlin/JS: a reimplementation of kotlin-styled in pure Kotlin, without styled-components
include("kotlin-styled-next")
// Kotlin/JS: Tanstack Query Core wrappers
include("kotlin-tanstack-query-core")
// Kotlin/JS: Tanstack React Query wrappers
include("kotlin-tanstack-react-query")
// Kotlin/JS: Tanstack React Query Devtools wrappers
include("kotlin-tanstack-react-query-devtools")
// Kotlin/JS: Tanstack React Table wrappers
include("kotlin-tanstack-react-table")
// Kotlin/JS: Tanstack React Virtual wrappers
include("kotlin-tanstack-react-virtual")
// Kotlin/JS: Tanstack Table Core wrappers
include("kotlin-tanstack-table-core")
// Kotlin/JS: Tanstack Virtual Core wrappers
include("kotlin-tanstack-virtual-core")
// Kotlin/JS: TypeScript wrappers
include("kotlin-typescript")
// Kotlin/JS: @vercel/ncc wrappers
include("kotlin-vercel-ncc")
// Kotlin/JS: Common web wrappers
include("kotlin-web")
include("kotlin-wrappers-bom")
include("kotlin-wrappers-catalog")