Skip to content

Commit

Permalink
添加 Android 命名空间
Browse files Browse the repository at this point in the history
在 android/build.gradle 文件中为项目指定了一个新的命名空间 'io.github.v7lin.tencent_kit'。这有助于在 Android 应用中更好地组织和管理代码,提高模块间的隔离性和可维护性。
  • Loading branch information
sinyu1012 authored Nov 25, 2024
1 parent 901ba62 commit effd647
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ rootProject.allprojects {
apply plugin: 'com.android.library'

android {
if (project.android.hasProperty('namespace') ||
getGradle().getGradleVersion().substring(0, 1).toInteger() >= 8) {
namespace 'io.github.v7lin.tencent_kit'
}

compileSdkVersion 31

compileOptions {
Expand Down

0 comments on commit effd647

Please sign in to comment.