Update android gradle plugin

This commit is contained in:
tehcneko committed 2022-01-27 14:08:01 +08:00
1 parent 7a5eeffe0b
commit f201bab6d2
3 files changed
+5 -8

No files matched your search

+3 -4
View File
@@ -30,8 +30,7 @@ android {
targetSdkVersion 32
versionCode 100010
versionName "1.7.26.3"
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW",
"es", "ja", "ko", "fr", "de", "th"
resConfigs 'zh', 'zh-rCN', 'zh-rHK', 'zh-rTW', 'es', 'ja', 'ko', 'fr', 'de', 'th'
testOptions.unitTests.includeAndroidResources = true
}
@@ -40,10 +39,10 @@ android {
targetCompatibility JavaVersion.VERSION_11
}
lintOptions {
disable 'MissingTranslation'
lint {
abortOnError true
checkReleaseBuilds false
disable 'MissingTranslation'
}
packagingOptions {
+1 -1
View File
@@ -6,7 +6,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.android.tools.build:gradle:7.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
+1 -3
View File
@@ -10,14 +10,12 @@ android {
defaultConfig {
minSdkVersion 23
targetSdkVersion 32
versionCode 1
versionName "1.0.0"
consumerProguardFiles 'proguard-rules.pro'
externalNativeBuild {
cmake {
version '3.18.1'
arguments '-DANDROID_STL=c++_static', '-DANDROID_PLATFORM=android-23', "-j=16"
arguments '-DANDROID_STL=c++_static', '-DANDROID_PLATFORM=android-23'
}
}
}