function adapt
This commit is contained in:
@@ -9,12 +9,17 @@ plugins {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
freeCompilerArgs.add("-Xexpect-actual-classes")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "top.zhushenwudi.llmp.composeapp"
|
||||
namespace = "com.zhushenwudi.lovelivemusicplayer.composeapp"
|
||||
compileSdk = libs.versions.android.compileSdk.get().toInt()
|
||||
minSdk = libs.versions.android.minSdk.get().toInt()
|
||||
compilerOptions {
|
||||
jvmTarget.set(JvmTarget.JVM_11)
|
||||
freeCompilerArgs.add("-Xexpect-actual-classes")
|
||||
}
|
||||
androidResources {
|
||||
enable = true
|
||||
@@ -28,6 +33,7 @@ kotlin {
|
||||
iosTarget.binaries.framework {
|
||||
baseName = "ComposeApp"
|
||||
isStatic = true
|
||||
export(projects.shared)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,7 +47,7 @@ kotlin {
|
||||
implementation(libs.ktor.client.darwin)
|
||||
}
|
||||
commonMain.dependencies {
|
||||
implementation(projects.shared)
|
||||
api(projects.shared)
|
||||
implementation(libs.compose.runtime)
|
||||
implementation(libs.compose.foundation)
|
||||
implementation(libs.compose.material3)
|
||||
@@ -65,7 +71,7 @@ kotlin {
|
||||
|
||||
compose {
|
||||
resources {
|
||||
packageOfResClass = "top.zhushenwudi.llmp.generated.resources"
|
||||
packageOfResClass = "com.zhushenwudi.lovelivemusicplayer.generated.resources"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user