Skip to content

Commit

Permalink
[Android]Update ci compile script and etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
xgfd3 committed May 24, 2024
1 parent 48875ec commit 8cbd807
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/ci/build/build_android.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,12 @@ def doPublish(buildVariables) {
"serverRepo": "SDK_repo"
]
]
archive.archiveFiles(archiveInfos)
archiveUrls = archive.archiveFiles(archiveInfos) ?: []
archiveUrls = archiveUrls as Set
if (archiveUrls) {
def content = archiveUrls.join("\n")
writeFile(file: 'package_urls', text: content, encoding: "utf-8")
}
sh "rm -rf *.zip *.apk || true"
}

Expand Down
11 changes: 10 additions & 1 deletion Android/APIExample/app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@

-keep class io.agora.**{*;}
-dontwarn javax.**
-dontwarn com.google.devtools.build.android.**
-dontwarn com.google.devtools.build.android.**

# sensetime
-keep class com.softsugar.**{*;}
-keep class com.sensetime.**{*;}

# bytedance
-keep class com.effectsar.**{*;}
-keep class com.bes.**{*;}
-keep class com.amazing.**{*;}

0 comments on commit 8cbd807

Please sign in to comment.