设置编译应用目标版本

This commit is contained in:
ZhanGSKen
2025-11-13 07:37:03 +08:00
parent 53271b21cf
commit cc3ec5022a
3 changed files with 16 additions and 16 deletions

View File

@@ -18,18 +18,21 @@ def genVersionName(def versionName){
}
android {
compileSdkVersion 32
buildToolsVersion "32.0.0"
// 1. compileSdkVersion:必须 ≥ targetSdkVersion建议直接等于 targetSdkVersion30
compileSdkVersion 30
// 2. buildToolsVersion需匹配 compileSdkVersion建议使用 30.x.x 最新稳定版(无需高于 compileSdkVersion
buildToolsVersion "30.0.3" // 这是 30 对应的最新稳定版,避免使用 beta 版
defaultConfig {
applicationId "cc.winboll.studio.positions"
minSdkVersion 24
minSdkVersion 23
targetSdkVersion 30
versionCode 1
// versionName 更新后需要手动设置
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
versionName "15.0"
versionName "15.11"
if(true) {
versionName = genVersionName("${versionName}")
}
@@ -61,8 +64,6 @@ dependencies {
api 'com.journeyapps:zxing-android-embedded:3.6.0'
// 应用介绍页类库
api 'io.github.medyo:android-about-page:2.0.0'
// 吐司类库
//api 'com.github.getActivity:ToastUtils:10.5'
// 网络连接类库
api 'com.squareup.okhttp3:okhttp:4.4.1'
// AndroidX 类库
@@ -73,7 +74,6 @@ dependencies {
//api 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
//api 'androidx.fragment:fragment:1.1.0'
api 'cc.winboll.studio:libaes:15.10.2'
api 'cc.winboll.studio:libapputils:15.10.2'
api 'cc.winboll.studio:libappbase:15.10.9'
api 'cc.winboll.studio:libaes:15.11.0'
api 'cc.winboll.studio:libappbase:15.11.0'
}

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Mon Nov 10 12:54:12 GMT 2025
stageCount=18
#Wed Nov 12 23:36:26 GMT 2025
stageCount=0
libraryProject=
baseVersion=15.0
publishVersion=15.0.17
buildCount=76
baseBetaVersion=15.0.18
baseVersion=15.11
publishVersion=15.11.0
buildCount=1
baseBetaVersion=15.11.1

View File

@@ -53,7 +53,7 @@ public class App extends GlobalApplication {
public void onCreate() {
super.onCreate();
setIsDebuging(BuildConfig.DEBUG);
setIsDebugging(BuildConfig.DEBUG);
WinBoLLActivityManager.init(this);