添加签名文件
This commit is contained in:
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
BIN
SignKey.jks
Normal file
BIN
SignKey.jks
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
@ -18,7 +18,7 @@ android.useAndroidX=true
|
||||
# Automatically convert third-party libraries to use AndroidX
|
||||
android.enableJetifier=true
|
||||
|
||||
RELEASE_STOREFILE=E:/AndroidStudioProject/signKey.jks
|
||||
RELEASE_STOREFILE=../SignKey.jks
|
||||
RELEASE_STORE_PASSWORD=123456
|
||||
RELEASE_KEY_ALIAS=fxy
|
||||
RELEASE_KEY_PASSWORD=123456
|
||||
Reference in New Issue
Block a user