mirror of
https://github.com/fumiama/copymanga.git
synced 2026-06-27 06:10:29 +08:00
v2.4.0
注意 > 由于大版本更新, 闪退问题可能增加. 如无 API 代理需求可以暂缓更新. 新增 1. 更安全的 API 代理, 旧版代理将无法使用 2. 组件下载提示 优化 1. 代码组织架构
This commit is contained in:
@@ -11,8 +11,8 @@ android {
|
||||
applicationId 'top.fumiama.copymanga'
|
||||
minSdkVersion 23
|
||||
targetSdkVersion 34
|
||||
versionCode 66
|
||||
versionName '2.3.8'
|
||||
versionCode 67
|
||||
versionName '2.4.0'
|
||||
resourceConfigurations += ['zh', 'zh-rCN']
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
@@ -31,6 +31,12 @@ android {
|
||||
enableV3Signing true
|
||||
enableV4Signing true
|
||||
}
|
||||
debug {
|
||||
enableV1Signing true
|
||||
enableV2Signing true
|
||||
enableV3Signing true
|
||||
enableV4Signing true
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
@@ -45,12 +51,14 @@ android {
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug{
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}*/
|
||||
debug{
|
||||
//minifyEnabled true
|
||||
//shrinkResources true
|
||||
//vcsInfo.include false
|
||||
//proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
signingConfig signingConfigs.debug
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_11
|
||||
@@ -70,6 +78,21 @@ android {
|
||||
namespace 'top.fumiama.dmzj.copymanga'
|
||||
}
|
||||
|
||||
Properties props = new Properties()
|
||||
def propFile = file('signing.properties')
|
||||
if (propFile.canRead()){
|
||||
props.load(new FileInputStream(propFile))
|
||||
|
||||
if (props!=null && props.containsKey('STORE_FILE') && props.containsKey('STORE_PASSWORD') &&
|
||||
props.containsKey('KEY_ALIAS') && props.containsKey('KEY_PASSWORD')) {
|
||||
|
||||
android.signingConfigs.debug.storeFile = file(props['STORE_FILE'])
|
||||
android.signingConfigs.debug.storePassword = props['STORE_PASSWORD']
|
||||
android.signingConfigs.debug.keyAlias = props['KEY_ALIAS']
|
||||
android.signingConfigs.debug.keyPassword = props['KEY_PASSWORD']
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api fileTree(include: ['*.aar'], dir: 'libs') // https://stackoverflow.com/a/63029110/28801553
|
||||
|
||||
|
||||
Reference in New Issue
Block a user