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 { sourceSets {
val androidMain by getting { val androidMain by getting {
dependencies { dependencies {
implementation(projects.shared) implementation(projects.composeApp)
} }
} }
} }

View File

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

View File

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

View File

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

View File

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