更新编译版本适配设置
This commit is contained in:
@@ -26,6 +26,7 @@ buildscript {
|
|||||||
//mavenLocal()
|
//mavenLocal()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
|
// 适配MIUI12
|
||||||
classpath 'com.android.tools.build:gradle:7.2.1' // 对应 compileSdkVersion 32
|
classpath 'com.android.tools.build:gradle:7.2.1' // 对应 compileSdkVersion 32
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
|||||||
@@ -18,16 +18,14 @@ def genVersionName(def versionName){
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
// 适配MIUI12
|
||||||
// 关键:改为你已安装的 SDK 32(≥ targetSdkVersion 30,兼容已安装环境)
|
compileSdkVersion 30
|
||||||
compileSdkVersion 32
|
buildToolsVersion "30.0.3"
|
||||||
|
|
||||||
// 直接使用已安装的构建工具 33.0.3(无需修改)
|
|
||||||
buildToolsVersion "33.0.3"
|
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "cc.winboll.studio.winboll"
|
applicationId "cc.winboll.studio.winboll"
|
||||||
minSdkVersion 23
|
minSdkVersion 23
|
||||||
|
// 适配MIUI12
|
||||||
targetSdkVersion 30
|
targetSdkVersion 30
|
||||||
versionCode 1
|
versionCode 1
|
||||||
// versionName 更新后需要手动设置
|
// versionName 更新后需要手动设置
|
||||||
@@ -92,12 +90,12 @@ dependencies {
|
|||||||
//annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
|
//annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
|
||||||
|
|
||||||
// WinBoLL库 nexus.winboll.cc 地址
|
// WinBoLL库 nexus.winboll.cc 地址
|
||||||
//api 'cc.winboll.studio:libaes:15.12.0'
|
api 'cc.winboll.studio:libaes:15.12.13'
|
||||||
//api 'cc.winboll.studio:libappbase:15.12.2'
|
api 'cc.winboll.studio:libappbase:15.14.2'
|
||||||
|
|
||||||
// WinBoLL备用库 jitpack.io 地址
|
// WinBoLL备用库 jitpack.io 地址
|
||||||
api 'com.github.ZhanGSKen:AES:aes-v15.12.1'
|
//api 'com.github.ZhanGSKen:AES:aes-v15.12.9'
|
||||||
api 'com.github.ZhanGSKen:APPBase:appbase-v15.12.2'
|
//api 'com.github.ZhanGSKen:APPBase:appbase-v15.14.1'
|
||||||
|
|
||||||
api fileTree(dir: 'libs', include: ['*.jar'])
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user