refactor: merge shared to composeApp

This commit is contained in:
2024-01-12 23:40:06 +08:00
parent d2bb28ef24
commit 8b330ff878
15 changed files with 9 additions and 8 deletions

View File

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

View File

@@ -13,7 +13,7 @@ kotlin {
iosSimulatorArm64(),
).forEach { iosTarget ->
iosTarget.binaries.framework {
baseName = projects.samples.shared.name
baseName = property.project.samples.composeApp.iosModuleName
isStatic = true
}
}
@@ -56,7 +56,7 @@ kotlin {
}
android {
namespace = property.project.samples.shared.namespace
namespace = property.project.samples.composeApp.namespace
compileSdk = property.project.android.compileSdk
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml")

View File

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

View File

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