mirror of
https://github.com/fumiama/copymanga.git
synced 2026-06-04 23:10:23 +08:00
新增 1. 增强型数据访问选项 2. 漫画下载数量并发限制 修复 1. 同时下载过多漫画时失败 (fix #67) 2. 主页滑动横幅后刷新闪退 (fix #65) 优化 1. 网络不佳时自动打开增强型数据访问 2. 不再反复读取代理状态
97 lines
3.1 KiB
Groovy
97 lines
3.1 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
defaultConfig {
|
|
compileSdk 34
|
|
applicationId 'top.fumiama.copymanga'
|
|
minSdkVersion 23
|
|
targetSdkVersion 34
|
|
versionCode 58
|
|
versionName '2.3.0'
|
|
resourceConfigurations += ['zh', 'zh-rCN']
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
aaptOptions {
|
|
cruncherEnabled = false
|
|
}
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
enableV1Signing true
|
|
enableV2Signing true
|
|
enableV3Signing true
|
|
enableV4Signing true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
/*winrelease {
|
|
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'
|
|
}*/
|
|
}
|
|
sourceSets {
|
|
main {
|
|
jniLibs.srcDirs = ['libs']
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '11'
|
|
}
|
|
bundle{
|
|
density{
|
|
enableSplit = true
|
|
}
|
|
language{
|
|
enableSplit = false
|
|
}
|
|
}
|
|
namespace 'top.fumiama.dmzj.copymanga'
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.core:core-ktx:1.12.0'
|
|
implementation 'androidx.appcompat:appcompat:1.6.1'
|
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
|
implementation 'com.google.android.material:material:1.11.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.navigation:navigation-fragment-ktx:2.7.7'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.7.7'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
implementation "androidx.preference:preference-ktx:1.2.1"
|
|
implementation 'com.afollestad.material-dialogs:input:3.3.0'
|
|
implementation 'com.github.yalantis:ucrop:2.2.6'
|
|
implementation 'com.to.aboomy:pager2banner:1.0.1'
|
|
implementation 'com.github.bumptech.glide:glide:4.16.0'
|
|
kapt 'com.github.bumptech.glide:compiler:4.16.0'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
implementation 'com.github.vovaksenov99:OverscrollableScrollView:1.0'
|
|
implementation 'com.liaoinstan.springview:library:1.7.0'
|
|
implementation 'com.github.zawadz88.materialpopupmenu:material-popup-menu:4.0.1'
|
|
implementation 'com.lapism:search:2.4.1@aar'
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0'
|
|
implementation 'com.airbnb.android:lottie:6.4.0'
|
|
implementation 'net.java.dev.jna:jna:5.14.0'
|
|
}
|