|
|
|
@ -13,8 +13,8 @@ android {
|
|
|
|
applicationId 'org.koitharu.kotatsu'
|
|
|
|
applicationId 'org.koitharu.kotatsu'
|
|
|
|
minSdkVersion 21
|
|
|
|
minSdkVersion 21
|
|
|
|
targetSdkVersion 31
|
|
|
|
targetSdkVersion 31
|
|
|
|
versionCode 379
|
|
|
|
versionCode 380
|
|
|
|
versionName '2.1.3'
|
|
|
|
versionName '2.1.4'
|
|
|
|
generatedDensities = []
|
|
|
|
generatedDensities = []
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
|
|
|
|
|
|
|
@ -24,10 +24,6 @@ android {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
buildTypes {
|
|
|
|
debug {
|
|
|
|
debug {
|
|
|
|
applicationIdSuffix = '.debug'
|
|
|
|
applicationIdSuffix = '.debug'
|
|
|
|
@ -45,16 +41,10 @@ android {
|
|
|
|
sourceSets {
|
|
|
|
sourceSets {
|
|
|
|
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
|
|
|
|
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
compileOptions {
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
abortOnError false
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
|
|
|
testOptions {
|
|
|
|
|
|
|
|
unitTests.includeAndroidResources = true
|
|
|
|
|
|
|
|
unitTests.returnDefaultValues = false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
freeCompilerArgs += [
|
|
|
|
freeCompilerArgs += [
|
|
|
|
@ -62,6 +52,14 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
|
|
|
'-Xopt-in=kotlin.contracts.ExperimentalContracts',
|
|
|
|
'-Xopt-in=kotlin.contracts.ExperimentalContracts',
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lintOptions {
|
|
|
|
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
|
|
|
|
abortOnError false
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
testOptions {
|
|
|
|
|
|
|
|
unitTests.includeAndroidResources = true
|
|
|
|
|
|
|
|
unitTests.returnDefaultValues = false
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
|
|
|
@ -70,13 +68,13 @@ dependencies {
|
|
|
|
|
|
|
|
|
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
|
|
implementation 'androidx.activity:activity-ktx:1.4.0'
|
|
|
|
implementation 'androidx.activity:activity-ktx:1.4.0'
|
|
|
|
implementation 'androidx.fragment:fragment-ktx:1.4.0'
|
|
|
|
implementation 'androidx.fragment:fragment-ktx:1.4.1'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.4.1'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-service:2.4.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-service:2.4.1'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-process:2.4.0'
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-process:2.4.1'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
|
|
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
|
|
|
|
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
|
|
|
|
@ -84,11 +82,11 @@ dependencies {
|
|
|
|
implementation 'androidx.work:work-runtime-ktx:2.7.1'
|
|
|
|
implementation 'androidx.work:work-runtime-ktx:2.7.1'
|
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
|
|
//noinspection LifecycleAnnotationProcessorWithJava8
|
|
|
|
//noinspection LifecycleAnnotationProcessorWithJava8
|
|
|
|
kapt 'androidx.lifecycle:lifecycle-compiler:2.4.0'
|
|
|
|
kapt 'androidx.lifecycle:lifecycle-compiler:2.4.1'
|
|
|
|
|
|
|
|
|
|
|
|
implementation 'androidx.room:room-runtime:2.4.0'
|
|
|
|
implementation 'androidx.room:room-runtime:2.4.1'
|
|
|
|
implementation 'androidx.room:room-ktx:2.4.0'
|
|
|
|
implementation 'androidx.room:room-ktx:2.4.1'
|
|
|
|
kapt 'androidx.room:room-compiler:2.4.0'
|
|
|
|
kapt 'androidx.room:room-compiler:2.4.1'
|
|
|
|
|
|
|
|
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
|
|
|
implementation 'com.squareup.okio:okio:2.10.0'
|
|
|
|
implementation 'com.squareup.okio:okio:2.10.0'
|
|
|
|
@ -100,7 +98,7 @@ dependencies {
|
|
|
|
implementation 'io.insert-koin:koin-android:3.1.4'
|
|
|
|
implementation 'io.insert-koin:koin-android:3.1.4'
|
|
|
|
implementation 'io.coil-kt:coil-base:1.4.0'
|
|
|
|
implementation 'io.coil-kt:coil-base:1.4.0'
|
|
|
|
implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'
|
|
|
|
implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'
|
|
|
|
implementation 'com.github.solkin:disk-lru-cache:1.3'
|
|
|
|
implementation 'com.github.solkin:disk-lru-cache:1.4'
|
|
|
|
|
|
|
|
|
|
|
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
|
|
|
|
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.7'
|
|
|
|
|
|
|
|
|
|
|
|
@ -114,6 +112,6 @@ dependencies {
|
|
|
|
androidTestImplementation 'androidx.test:rules:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test:rules:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test:core-ktx:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test:core-ktx:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit-ktx:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.room:room-testing:2.4.0'
|
|
|
|
androidTestImplementation 'androidx.room:room-testing:2.4.1'
|
|
|
|
androidTestImplementation 'com.google.truth:truth:1.1.3'
|
|
|
|
androidTestImplementation 'com.google.truth:truth:1.1.3'
|
|
|
|
}
|
|
|
|
}
|