Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TestToolChainDemo
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
dsq
TestToolChainDemo
Commits
e3a9bd7c
Commit
e3a9bd7c
authored
Apr 13, 2026
by
qq_38816927
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改删除机制
parent
3625b36b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
build.gradle.kts
composeApp/build.gradle.kts
+13
-7
No files found.
composeApp/build.gradle.kts
View file @
e3a9bd7c
...
...
@@ -183,14 +183,20 @@ configurations.all {
}
/** 仅清理 harmonyApp 下 entry 的中间目录,与 publish 无关时可单独执行:`:composeApp:cleanHarmonyAppEntryBuildsAndNativeLibs` */
tasks
.
register
<
Delete
>
(
"cleanHarmonyAppEntryBuildsAndNativeLibs"
)
{
tasks
.
register
(
"cleanHarmonyAppEntryBuildsAndNativeLibs"
)
{
group
=
"harmony"
delete
(
doLast
{
listOf
(
rootProject
.
file
(
"harmonyApp/entry/build"
),
rootProject
.
file
(
"harmonyApp/entry/libs/arm64-v8a"
),
rootProject
.
file
(
"harmonyApp/entry/libs/x86_64"
),
rootProject
.
file
(
"harmonyApp/entry/src/main/cpp/include"
),
)
).
forEach
{
f
->
if
(
f
.
exists
())
{
f
.
deleteRecursively
()
}
}
}
}
// 为不同类型(debug、release)OHOS构建注册Copy任务并发布到Harmony App目录
...
...
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