mirror of
https://github.com/fumiama/copymanga.git
synced 2026-06-08 17:00:28 +08:00
73 lines
2.2 KiB
Groovy
73 lines
2.2 KiB
Groovy
apply plugin: 'com.android.application'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
compileSdkVersion 32
|
|
buildToolsVersion "30.0.2"
|
|
|
|
defaultConfig {
|
|
applicationId "top.fumiama.copymanga"
|
|
minSdkVersion 23
|
|
targetSdkVersion 32
|
|
versionCode 12
|
|
versionName '1.4.2'
|
|
resConfigs "zh", "zh-rCN"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
signingConfigs {
|
|
release {
|
|
storeFile file('../../../OneDrive/swc/developer/android_key/open_key')
|
|
storePassword 'fumiama'
|
|
keyAlias 'default'
|
|
keyPassword 'fumiama'
|
|
v1SigningEnabled true
|
|
v2SigningEnabled true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
signingConfig signingConfigs.release
|
|
}
|
|
/*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'
|
|
}
|
|
|
|
viewBinding {
|
|
enabled = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
implementation 'androidx.core:core-ktx:1.8.0'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
|
implementation 'androidx.cardview:cardview:1.0.0'
|
|
implementation 'androidx.viewpager2:viewpager2:1.0.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
implementation 'com.github.bumptech.glide:glide:4.12.0'
|
|
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
|
|
implementation 'com.google.code.gson:gson:2.8.9'
|
|
}
|