mirror of
https://github.com/openflocon/Flocon.git
synced 2026-04-30 13:30:02 +00:00
* feature: Local * feature: Local * feature: Move analytics * feature: Network --------- Co-authored-by: TEYSSANDIER Raphael <rteyssandier@sephora.fr>
47 lines
1.1 KiB
Kotlin
47 lines
1.1 KiB
Kotlin
plugins {
|
|
alias(libs.plugins.kotlinMultiplatform)
|
|
alias(libs.plugins.kotlinx.serialization)
|
|
alias(libs.plugins.room)
|
|
alias(libs.plugins.ksp)
|
|
}
|
|
|
|
kotlin {
|
|
|
|
jvm("desktop")
|
|
|
|
compilerOptions {
|
|
// Pour Kotlin 1.9+
|
|
freeCompilerArgs.add("-opt-in=kotlin.time.ExperimentalTime")
|
|
freeCompilerArgs.add("-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi")
|
|
freeCompilerArgs.add("-Xcontext-parameters")
|
|
freeCompilerArgs.add("-Xcontext-sensitive-resolution")
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain.dependencies {
|
|
implementation(libs.kotlinx.coroutinesCore)
|
|
implementation(libs.kotlinx.serializationJson)
|
|
|
|
implementation(project.dependencies.platform(libs.koin.bom))
|
|
implementation(libs.koin.core)
|
|
|
|
implementation(libs.androidx.room.runtime)
|
|
|
|
implementation(projects.domain)
|
|
implementation(projects.data.core)
|
|
}
|
|
|
|
commonTest.dependencies {
|
|
implementation(libs.kotlin.test)
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
ksp(libs.androidx.room.compiler)
|
|
}
|
|
|
|
room {
|
|
schemaDirectory("$projectDir/schemas")
|
|
}
|