Add test-app module with initial UI and backend setup

Introduced a new `test-app` module with a basic Kotlin/JS UI and a Kotlin/JVM backend. Updated dependencies to use `api` where applicable and made configuration changes to support composite builds.
This commit is contained in:
2024-12-31 20:00:30 +01:00
parent 684234e168
commit 4259b054b3
8 changed files with 377 additions and 7 deletions

View File

@@ -40,12 +40,12 @@ kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation("nl.astraeus:kotlin-css-generator:1.0.10")
api("nl.astraeus:kotlin-css-generator:1.0.10")
}
}
val jsMain by getting {
dependencies {
implementation("nl.astraeus:kotlin-komponent:1.2.4")
api("nl.astraeus:kotlin-komponent:1.2.4")
}
}
val jsTest by getting {
@@ -55,7 +55,7 @@ kotlin {
}
val jvmMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.0")
api("org.jetbrains.kotlinx:kotlinx-datetime:0.6.0")
implementation("io.undertow:undertow-core:2.3.14.Final")
implementation("io.undertow:undertow-websockets-jsr:2.3.14.Final")
@@ -65,7 +65,7 @@ kotlin {
implementation("com.zaxxer:HikariCP:4.0.3")
implementation("nl.astraeus:simple-jdbc-stats:1.6.1")
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:0.11.0")
api("org.jetbrains.kotlinx:kotlinx-html-jvm:0.11.0")
}
}
}