refactor: merge shared to composeApp

This commit is contained in:
2024-01-12 23:29:34 +08:00
parent 05f4357b4e
commit ea7af30fd2
7 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ kotlin {
sourceSets {
val androidMain by getting {
dependencies {
implementation(projects.shared)
implementation(projects.composeApp)
}
}
}

View File

@@ -10,10 +10,10 @@ kotlin {
listOf(
iosX64(),
iosArm64(),
iosSimulatorArm64(),
iosSimulatorArm64()
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = "shared"
baseName = "ComposeApp"
isStatic = true
}
}

View File

@@ -11,7 +11,7 @@ kotlin {
sourceSets {
val desktopMain by getting {
dependencies {
implementation(projects.shared)
implementation(projects.composeApp)
}
}
}

View File

@@ -1,5 +1,5 @@
import UIKit
import shared
import ComposeApp
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

View File

@@ -17,4 +17,4 @@ sweetProperty {
rootProject { all { isEnable = false } }
}
rootProject.name = "__PROJECT_NAME__"
include(":androidApp", ":desktopApp", ":shared")
include(":androidApp", ":desktopApp", ":composeApp")