mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
model: migrate to JVM-only
This commit is contained in:
parent
5cab25539d
commit
3d496c99c1
7 changed files with 6 additions and 17 deletions
|
@ -1,21 +1,9 @@
|
||||||
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("multiplatform")
|
kotlin("jvm")
|
||||||
kotlin("plugin.serialization")
|
kotlin("plugin.serialization")
|
||||||
id("dev.msfjarvis.claw.kotlin-common")
|
id("dev.msfjarvis.claw.kotlin-common")
|
||||||
id("dev.msfjarvis.claw.android-library")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
|
||||||
android()
|
|
||||||
jvm()
|
|
||||||
sourceSets["commonMain"].apply {
|
|
||||||
dependencies { implementation(libs.kotlinx.serialization.core) }
|
dependencies { implementation(libs.kotlinx.serialization.core) }
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
android {
|
|
||||||
namespace = "dev.msfjarvis.claw.model"
|
|
||||||
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
<manifest />
|
|
|
@ -94,8 +94,10 @@ dependencyResolutionManagement {
|
||||||
|
|
||||||
rootProject.name = "Claw"
|
rootProject.name = "Claw"
|
||||||
|
|
||||||
enableFeaturePreview(
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
||||||
"TYPESAFE_PROJECT_ACCESSORS"
|
|
||||||
|
include(
|
||||||
|
"model",
|
||||||
)
|
)
|
||||||
|
|
||||||
// include(":android")
|
// include(":android")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue