Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kotlin_sample
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyh
kotlin_sample
Commits
aab96f8a
Commit
aab96f8a
authored
Feb 13, 2026
by
jiangyh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2.2.21-OH.0.1.0-01
parent
9e6e6ad7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
build.gradle.kts
composeApp/build.gradle.kts
+1
-1
libs.versions.toml
gradle/libs.versions.toml
+1
-1
libkn.so
harmonyApp/entry/libs/arm64-v8a/libkn.so
+0
-0
No files found.
composeApp/build.gradle.kts
View file @
aab96f8a
...
@@ -28,7 +28,7 @@ kotlin {
...
@@ -28,7 +28,7 @@ kotlin {
// outputDirectory = file("customer-output")
// outputDirectory = file("customer-output")
// outputFile 是只读属性,由 outputDirectory 和 baseName 决定
// outputFile 是只读属性,由 outputDirectory 和 baseName 决定
// println("Output file path: ${outputFile.absolutePath}")
// println("Output file path: ${outputFile.absolutePath}")
freeCompilerArgs
+=
listOf
(
"-Xbinary=sanitizer=address"
)
freeCompilerArgs
+=
listOf
(
"-Xbinary=sanitizer=address"
,
"-Xbinary=splitBCfile=1"
)
// 链接静态库目录和库名,使用 --whole-archive 强制包含静态库所有符号
// 链接静态库目录和库名,使用 --whole-archive 强制包含静态库所有符号
linkerOpts
(
"-L${project.projectDir}/native-libs/ohosArm64"
,
"--whole-archive"
,
"-lsample"
,
"--no-whole-archive"
)
linkerOpts
(
"-L${project.projectDir}/native-libs/ohosArm64"
,
"--whole-archive"
,
"-lsample"
,
"--no-whole-archive"
)
// export(project(":lib-arith")) {
// export(project(":lib-arith")) {
...
...
gradle/libs.versions.toml
View file @
aab96f8a
...
@@ -10,7 +10,7 @@ androidx-espresso = "3.7.0"
...
@@ -10,7 +10,7 @@ androidx-espresso = "3.7.0"
androidx-lifecycle
=
"2.9.6"
androidx-lifecycle
=
"2.9.6"
androidx-testExt
=
"1.3.0"
androidx-testExt
=
"1.3.0"
junit
=
"4.13.2"
junit
=
"4.13.2"
kotlin
=
"2.2.21-
ez-1
01"
kotlin
=
"2.2.21-
OH.0.1.0-
01"
[libraries]
[libraries]
kotlin-test
=
{
module
=
"org.jetbrains.kotlin:kotlin-test"
,
version.ref
=
"kotlin"
}
kotlin-test
=
{
module
=
"org.jetbrains.kotlin:kotlin-test"
,
version.ref
=
"kotlin"
}
...
...
harmonyApp/entry/libs/arm64-v8a/libkn.so
View file @
aab96f8a
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment