Skip to content

Commit a3c732f

Browse files
authored
优化 Android namespace 判断
1 parent effd647 commit a3c732f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: android/build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ rootProject.allprojects {
3939
apply plugin: 'com.android.library'
4040

4141
android {
42-
if (project.android.hasProperty('namespace') ||
43-
getGradle().getGradleVersion().substring(0, 1).toInteger() >= 8) {
42+
if (project.android.hasProperty('namespace')) {
4443
namespace 'io.github.v7lin.tencent_kit'
4544
}
4645

0 commit comments

Comments
 (0)