Compare commits
3 Commits
appbase-v1
...
69b18343c9
| Author | SHA1 | Date | |
|---|---|---|---|
| 69b18343c9 | |||
| e1bd959842 | |||
| bad38e37ae |
@@ -30,7 +30,7 @@ android {
|
|||||||
// versionName 更新后需要手动设置
|
// versionName 更新后需要手动设置
|
||||||
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
// .winboll/winbollBuildProps.properties 文件的 stageCount=0
|
||||||
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
// Gradle编译环境下合起来的 versionName 就是 "${versionName}.0"
|
||||||
versionName "15.15"
|
versionName "15.16"
|
||||||
if(true) {
|
if(true) {
|
||||||
versionName = genVersionName("${versionName}")
|
versionName = genVersionName("${versionName}")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sun May 10 04:07:17 HKT 2026
|
#Sat May 09 21:14:54 GMT 2026
|
||||||
stageCount=24
|
stageCount=0
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.15
|
baseVersion=15.16
|
||||||
publishVersion=15.15.23
|
publishVersion=15.16.0
|
||||||
buildCount=0
|
buildCount=1
|
||||||
baseBetaVersion=15.15.24
|
baseBetaVersion=15.16.1
|
||||||
|
|||||||
@@ -18,6 +18,10 @@ android {
|
|||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
compileOptions {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_7
|
||||||
|
targetCompatibility JavaVersion.VERSION_1_7
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Sun May 10 04:07:17 HKT 2026
|
#Sat May 09 21:14:54 GMT 2026
|
||||||
stageCount=24
|
stageCount=0
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.15
|
baseVersion=15.16
|
||||||
publishVersion=15.15.23
|
publishVersion=15.16.0
|
||||||
buildCount=0
|
buildCount=1
|
||||||
baseBetaVersion=15.15.24
|
baseBetaVersion=15.16.1
|
||||||
|
|||||||
@@ -62,11 +62,11 @@ public class BackupUtils {
|
|||||||
|
|
||||||
// 核心修改:入参Map非空且非空集合时,使用入参初始化;否则内部new HashMap()
|
// 核心修改:入参Map非空且非空集合时,使用入参初始化;否则内部new HashMap()
|
||||||
this.mDataDirFileMap = (dataDirFileMap != null && !dataDirFileMap.isEmpty())
|
this.mDataDirFileMap = (dataDirFileMap != null && !dataDirFileMap.isEmpty())
|
||||||
? new HashMap<>(dataDirFileMap) // 新建Map避免外部篡改内部数据
|
? new HashMap<String, String>(dataDirFileMap)
|
||||||
: new HashMap<>();
|
: new HashMap<String, String>();
|
||||||
this.mSdcardFileMap = (sdcardFileMap != null && !sdcardFileMap.isEmpty())
|
this.mSdcardFileMap = (sdcardFileMap != null && !sdcardFileMap.isEmpty())
|
||||||
? new HashMap<>(sdcardFileMap) // 深拷贝,隔离外部引用
|
? new HashMap<String, String>(sdcardFileMap)
|
||||||
: new HashMap<>();
|
: new HashMap<String, String>();
|
||||||
|
|
||||||
LogUtils.d(TAG, "BackupUtils初始化完成 → SFTP服务器:" + ftpAuthModel.getFtpServer() + ":" + ftpAuthModel.getFtpPort() + " | 上传目录:" + mFtpTargetDir);
|
LogUtils.d(TAG, "BackupUtils初始化完成 → SFTP服务器:" + ftpAuthModel.getFtpServer() + ":" + ftpAuthModel.getFtpPort() + " | 上传目录:" + mFtpTargetDir);
|
||||||
LogUtils.d(TAG, "SDCard Map基础根目录:" + (mAppExternalFilesDir == null ? "获取失败" : mAppExternalFilesDir.getAbsolutePath()));
|
LogUtils.d(TAG, "SDCard Map基础根目录:" + (mAppExternalFilesDir == null ? "获取失败" : mAppExternalFilesDir.getAbsolutePath()));
|
||||||
|
|||||||
Reference in New Issue
Block a user