[Update]
1、升级动态皮肤加载SDK
2、完善YiXin皮肤包
This commit is contained in:
donghongyu-pc
2024-10-12 20:11:57 +08:00
parent 78bee741fd
commit c15c36d83b
5 changed files with 22 additions and 20 deletions

View File

@@ -1,30 +1,32 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
compileSdkVersion rootProject.ext.android.compileSdkVersion
defaultConfig {
applicationId "com.dongnao.app.skin"
minSdkVersion 21
targetSdkVersion 26
minSdkVersion rootProject.ext.android.minSdkVersion
targetSdkVersion rootProject.ext.android.targetSdkVersion
// 这里每次更新皮肤资源都要对版本++ 用于版本管理
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
abortOnError false
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
testImplementation 'junit:junit:4.12'
}
android.applicationVariants.all { variant ->
def buildTime = new Date().format("yyyy_MM_dd_HH_mm", TimeZone.getTimeZone("GMT+08:00"))
def projectFolderName = project.name // 获取项目文件夹名称
variant.outputs.all { output ->
outputFileName = [
projectFolderName,
"v${variant.versionCode}",
buildTime
].findAll { it.length() > 0 }.join('_') << ".skin"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.