添加签名文件

This commit is contained in:
2021-02-08 10:48:08 +08:00
parent 29af9af399
commit 6b27df0eca
4 changed files with 15 additions and 1 deletions

View File

@ -16,6 +16,7 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
//签名配置
signingConfigs {
release {
storeFile file(RELEASE_STOREFILE);
@ -25,6 +26,7 @@ android {
}
}
//构建类型
buildTypes {
release {
minifyEnabled false //是否代码混淆
@ -35,6 +37,11 @@ android {
}
}
//关闭代码格式检查
lintOptions {
abortOnError false
}
//加载动态库
sourceSets {
main {
@ -42,6 +49,7 @@ android {
}
}
//编译选项
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8