Commit f68bb21a authored by dsq's avatar dsq

切换稳定版本

parent f6cffdea
...@@ -78,25 +78,16 @@ kotlin { ...@@ -78,25 +78,16 @@ kotlin {
ohosArm64 { ohosArm64 {
binaries.sharedLib { binaries.sharedLib {
baseName = "kn" // 共享库名称为kn baseName = "kn" // 共享库名称为kn
// freeCompilerArgs += listOf("-Xbinary=sanitizer=address") freeCompilerArgs += listOf("-Xbinary=sanitizer=address")
export(libs.compose.multiplatform.export) // 导出compose多平台库的接口 export(libs.compose.multiplatform.export) // 导出compose多平台库的接口
} }
compilations.named("main") {
compilerOptions.configure {
freeCompilerArgs.addAll(
listOf(
"-Xinclude-library=org.jetbrains.kotlin.native.platform.kba_devices",
"-Xdisable-default-klib-resolution"
)
)
}
}
val main by compilations.getting // 获取主编译内容 val main by compilations.getting // 获取主编译内容
// val resource by main.cinterops.creating { val resource by main.cinterops.creating {
// //配置C interop(cinterop)资源 //配置C interop(cinterop)资源
// defFile(file("src/ohosArm64Main/cinterop/resource.def")) // cinterop定义文件 defFile(file("src/ohosArm64Main/cinterop/resource.def")) // cinterop定义文件
// includeDirs(file("src/ohosArm64Main/cinterop/include")) // cinterop包含目录 includeDirs(file("src/ohosArm64Main/cinterop/include")) // cinterop包含目录
// } }
} }
......
...@@ -15,7 +15,7 @@ androidx-collection = "1.4.5" ...@@ -15,7 +15,7 @@ androidx-collection = "1.4.5"
compose = "1.9.4" compose = "1.9.4"
composeMultiplatform = "1.9.2-ez-001" composeMultiplatform = "1.9.2-ez-001"
junit = "4.13.2" junit = "4.13.2"
kotlin = "2.2.21-ez-101" kotlin = "2.2.21-ez-001"
kotlinx-coroutines = "1.8.0-KBA-001" kotlinx-coroutines = "1.8.0-KBA-001"
atomicFu = "0.23.2-KBA-001" atomicFu = "0.23.2-KBA-001"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment