Skip to content

Commit c210e8f

Browse files
committed
chore(model-client): separate library for CLTree and related classes
To plan is to clean it up and make it a public reusable library. MODELIX-502
1 parent f1df675 commit c210e8f

File tree

78 files changed

+85
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+85
-0
lines changed

commitlint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
"model-api-gen-gradle",
1414
"model-api",
1515
"model-client",
16+
"model-datastructure",
1617
"model-server",
1718
"model-sync-lib",
1819
"modelql",

model-client/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ kotlin {
3434
val commonMain by getting {
3535
dependencies {
3636
api(project(":model-api"))
37+
api(project(":model-datastructure"))
3738
api(project(":model-server-api"))
3839
kotlin("stdlib-common")
3940
implementation(libs.kotlin.collections.immutable)
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
plugins {
2+
`maven-publish`
3+
id("org.jetbrains.kotlin.multiplatform")
4+
}
5+
6+
kotlin {
7+
jvm()
8+
js(IR) {
9+
// browser {}
10+
nodejs {
11+
testTask {
12+
useMocha {
13+
timeout = "30s"
14+
}
15+
}
16+
}
17+
useCommonJs()
18+
}
19+
sourceSets {
20+
val commonMain by getting {
21+
dependencies {
22+
api(project(":model-api"))
23+
// api(project(":model-server-api"))
24+
// kotlin("stdlib-common")
25+
// implementation(libs.kotlin.collections.immutable)
26+
// implementation(libs.kotlin.coroutines.core)
27+
implementation(libs.kotlin.logging)
28+
implementation(libs.kotlin.datetime)
29+
// implementation(libs.kotlin.serialization.json)
30+
// implementation(libs.ktor.client.core)
31+
// implementation(libs.ktor.client.content.negotiation)
32+
// implementation(libs.ktor.serialization.json)
33+
}
34+
}
35+
val commonTest by getting {
36+
dependencies {
37+
// kotlin("test-common")
38+
// kotlin("test-annotations-common")
39+
}
40+
}
41+
val jvmMain by getting {
42+
dependencies {
43+
// kotlin("stdlib-jdk8")
44+
//
45+
// implementation(libs.vavr)
46+
// implementation(libs.apache.commons.lang)
47+
// implementation(libs.guava)
48+
// implementation(libs.apache.commons.io)
49+
// implementation("org.json:json:20230618")
50+
// implementation(libs.trove4j)
51+
implementation(libs.apache.commons.collections)
52+
//
53+
// implementation("com.google.oauth-client:google-oauth-client:1.34.1")
54+
// implementation("com.google.oauth-client:google-oauth-client-jetty:1.34.1")
55+
//
56+
// implementation(libs.ktor.client.core)
57+
// implementation(libs.ktor.client.cio)
58+
// implementation(libs.ktor.client.auth)
59+
// implementation(libs.ktor.client.content.negotiation)
60+
// implementation(libs.ktor.serialization.json)
61+
}
62+
}
63+
val jvmTest by getting {
64+
dependencies {
65+
// implementation(kotlin("test"))
66+
}
67+
}
68+
val jsMain by getting {
69+
dependencies {
70+
// implementation(kotlin("stdlib-js"))
71+
// implementation(npm("uuid", "^8.3.0"))
72+
// implementation(npm("js-sha256", "^0.9.0"))
73+
// implementation(npm("js-base64", "^3.4.5"))
74+
}
75+
}
76+
val jsTest by getting {
77+
dependencies {
78+
// implementation(kotlin("test-js"))
79+
}
80+
}
81+
}
82+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)