2026-01-23 19:05:25 +11:00
|
|
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
|
alias(libs.plugins.androidLibrary)
|
2026-02-01 00:50:57 +11:00
|
|
|
alias(libs.plugins.koinCompiler)
|
2026-01-23 19:05:25 +11:00
|
|
|
alias(libs.plugins.kotlinMultiplatform)
|
2026-01-23 21:24:53 +11:00
|
|
|
alias(libs.plugins.kotlinSerialization)
|
2026-01-23 23:30:06 +11:00
|
|
|
alias(libs.plugins.sqldelight)
|
2026-01-23 19:05:25 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
|
jvm()
|
|
|
|
|
androidTarget {
|
|
|
|
|
compilerOptions {
|
|
|
|
|
jvmTarget.set(JvmTarget.JVM_11)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
commonMain.dependencies {
|
2026-02-05 01:05:02 +11:00
|
|
|
implementation(project(":api:gateway"))
|
|
|
|
|
implementation(project(":api:rest"))
|
|
|
|
|
implementation(project(":common"))
|
2026-01-25 03:31:24 +11:00
|
|
|
implementation(libs.ktor.client.core)
|
|
|
|
|
implementation(libs.ktor.serialization.kotlinx.json)
|
|
|
|
|
|
2026-02-01 00:50:57 +11:00
|
|
|
implementation(project.dependencies.platform(libs.koin.bom))
|
|
|
|
|
implementation(libs.koin.core)
|
|
|
|
|
|
2026-01-25 03:31:24 +11:00
|
|
|
implementation(libs.kermit)
|
2026-01-31 19:15:14 +11:00
|
|
|
implementation(libs.settings)
|
2026-01-23 19:05:25 +11:00
|
|
|
}
|
|
|
|
|
commonTest.dependencies {
|
|
|
|
|
implementation(libs.kotlin.test)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-25 03:31:24 +11:00
|
|
|
dependencies {
|
|
|
|
|
coreLibraryDesugaring(libs.desugar)
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-23 19:05:25 +11:00
|
|
|
android {
|
|
|
|
|
namespace = "moe.lava.neon.core"
|
|
|
|
|
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk = libs.versions.android.minSdk.get().toInt()
|
|
|
|
|
}
|
|
|
|
|
packaging {
|
|
|
|
|
resources {
|
|
|
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
buildTypes {
|
|
|
|
|
getByName("release") {
|
|
|
|
|
isMinifyEnabled = false
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
2026-01-25 03:31:24 +11:00
|
|
|
isCoreLibraryDesugaringEnabled = true
|
2026-01-23 19:05:25 +11:00
|
|
|
}
|
|
|
|
|
}
|
2026-01-23 23:30:06 +11:00
|
|
|
|
|
|
|
|
sqldelight {
|
|
|
|
|
databases {
|
|
|
|
|
create("Database") {
|
|
|
|
|
packageName = "moe.lava.neon.core.db"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|