Upgrade Kotlin to 2.1.0 and implement database layer
Updated the Kotlin multiplatform plugin to version 2.1.0 and added the necessary dependency for the Kotlin-simple-logging library. Introduced new components, `Database.kt` and `Migrations.kt`, to manage database connections and migrations, along with adjustments to build configuration artifacts.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import org.jetbrains.kotlin.gradle.plugin.KotlinJsCompilerType
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "2.0.21"
|
||||
kotlin("multiplatform") version "2.1.0"
|
||||
}
|
||||
|
||||
group = "nl.astraeus"
|
||||
@@ -19,9 +19,7 @@ repositories {
|
||||
|
||||
kotlin {
|
||||
jvmToolchain(17)
|
||||
jvm {
|
||||
withJava()
|
||||
}
|
||||
jvm()
|
||||
js {
|
||||
binaries.executable()
|
||||
browser {
|
||||
@@ -33,6 +31,7 @@ kotlin {
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
dependencies {
|
||||
api("nl.astraeus:kotlin-simple-logging:1.1.1")
|
||||
api("nl.astraeus:kotlin-css-generator:1.0.10")
|
||||
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.0")
|
||||
|
||||
Reference in New Issue
Block a user