mirror of
https://github.com/fumiama/copymanga.git
synced 2026-06-08 17:00:28 +08:00
新增 1. 启动时尝试登陆失败提示 2. 热切换阅览模式 3. 拉进度条连续翻页超过3后松手时再更新进度 4. 更高清晰度支持 (可在设置调节) 修复 1. 大屏设备下用户头像过大 2. 阅览漫画时加载图片过快导致触发访问限制 3. 白色背景下无法显示页码标号 4. 闪退重新拉起时继续闪退 5. 非ViewPager阅读漫画异常CPU占用 优化 1. 默认api地址更改为api.copymanga.tv 2. 字符串与常量定义 3. 首页下拉刷新行为 4. 竖向、单页模式下漫画加载速度 5. 封面加载速度
80 lines
2.7 KiB
Groovy
80 lines
2.7 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
defaultConfig {
|
|
compileSdk 34
|
|
applicationId 'top.fumiama.copymanga'
|
|
minSdkVersion 23
|
|
targetSdkVersion 34
|
|
versionCode 44
|
|
versionName '2.1.1'
|
|
resConfigs 'zh', 'zh-rCN'
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
aaptOptions {
|
|
cruncherEnabled = false
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
/*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'
|
|
}*/
|
|
}
|
|
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.6'
|
|
implementation 'androidx.navigation:navigation-ui-ktx:2.7.6'
|
|
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.14.2'
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2'
|
|
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.3.0'
|
|
}
|