mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-09 20:14:18 +08:00
refactor: merge shared to composeApp
This commit is contained in:
@@ -10,7 +10,7 @@ kotlin {
|
||||
sourceSets {
|
||||
val androidMain by getting {
|
||||
dependencies {
|
||||
implementation(projects.samples.shared)
|
||||
implementation(projects.samples.composeApp)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -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")
|
@@ -12,7 +12,7 @@ kotlin {
|
||||
sourceSets {
|
||||
val desktopMain by getting {
|
||||
dependencies {
|
||||
implementation(projects.samples.shared)
|
||||
implementation(projects.samples.composeApp)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import UIKit
|
||||
import shared
|
||||
import ComposeApp
|
||||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
|
Reference in New Issue
Block a user