1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/theoneee-lover-bmob

Клонировать/Скачать
default.gradle 1.5 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
theoneee Отправлено 16.06.2022 12:25 8379bfc
apply from: "../base.gradle"
// 通用配置
android {
defaultConfig {
multiDexEnabled true
}
applicationVariants.all { variant ->
variant.outputs.all { output -> // each 改为 all
def fileName = "lover_bmob_${variant.versionName}_release.apk"
def outFile = output.outputFile
if (outFile != null && outFile.name.endsWith('.apk')) {
outputFileName = fileName // output.outputFile 改为 outputFileName
}
}
}
signingConfigs {
release {
storeFile file("${parent.ext.storeFilePath}")
storePassword parent.ext.storePassword
keyAlias parent.ext.keyAlias
keyPassword parent.ext.keyPassword
}
}
buildTypes {
debug {
debuggable true
minifyEnabled false
signingConfig signingConfigs.release
}
release {
signingConfig signingConfigs.release
minifyEnabled true
// 移除无用的resource文件
shrinkResources true
// Zipalign优化
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
//implementation "com.github.Theoneee:TheCore-MVVM:$TheCoreVersion"
implementation 'com.gitee.theoneee.qmui-mvvm:core:1.0.10-beta'
//生成RxHttp类
kapt "com.github.liujingxing.rxhttp:rxhttp-compiler:$rxhttpVersion"
}

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/theoneee-lover-bmob.git
git@api.gitlife.ru:oschina-mirror/theoneee-lover-bmob.git
oschina-mirror
theoneee-lover-bmob
theoneee-lover-bmob
master