Commit 93684af7 authored by dsq's avatar dsq

release适配

parent 8a652ffa
...@@ -43,7 +43,8 @@ kotlin { ...@@ -43,7 +43,8 @@ kotlin {
baseName = "kn" // 共享库名称为kn baseName = "kn" // 共享库名称为kn
export(libs.compose.multiplatform.export) // 导出compose多平台库的接口 export(libs.compose.multiplatform.export) // 导出compose多平台库的接口
// 确保链接系统 zlib,使 libkn.so 的 NEEDED 包含 libz.so // 确保链接系统 zlib,使 libkn.so 的 NEEDED 包含 libz.so
linkerOpts("-lz") linkerOpts("-lz")
optimized = false
} }
val main by compilations.getting val main by compilations.getting
main.compilerOptions.configure { main.compilerOptions.configure {
...@@ -60,6 +61,7 @@ kotlin { ...@@ -60,6 +61,7 @@ kotlin {
baseName = "kn" baseName = "kn"
export(libs.compose.multiplatform.export) export(libs.compose.multiplatform.export)
linkerOpts("-lz") linkerOpts("-lz")
optimized = false
} }
val main by compilations.getting val main by compilations.getting
main.compilerOptions.configure { main.compilerOptions.configure {
......
[versions] [versions]
# Build & Android # Build & Android
agp = "8.6.0" agp = "8.2.2"
android-compileSdk = "36" android-compileSdk = "36"
android-minSdk = "24" android-minSdk = "24"
android-targetSdk = "36" android-targetSdk = "36"
......
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