|
|
|
|
@ -8,6 +8,7 @@ plugins {
|
|
|
|
|
android {
|
|
|
|
|
compileSdkVersion 31
|
|
|
|
|
buildToolsVersion '30.0.3'
|
|
|
|
|
namespace 'org.koitharu.kotatsu'
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
applicationId 'org.koitharu.kotatsu'
|
|
|
|
|
@ -48,14 +49,15 @@ android {
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
|
freeCompilerArgs += [
|
|
|
|
|
'-Xjvm-default=enable',
|
|
|
|
|
'-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi',
|
|
|
|
|
'-Xopt-in=kotlinx.coroutines.FlowPreview',
|
|
|
|
|
'-Xopt-in=kotlin.contracts.ExperimentalContracts',
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
lintOptions {
|
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
|
lint {
|
|
|
|
|
abortOnError false
|
|
|
|
|
disable 'MissingTranslation'
|
|
|
|
|
}
|
|
|
|
|
testOptions {
|
|
|
|
|
unitTests.includeAndroidResources = true
|
|
|
|
|
@ -69,7 +71,7 @@ dependencies {
|
|
|
|
|
|
|
|
|
|
implementation 'androidx.core:core-ktx:1.7.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-viewmodel-ktx:2.4.0'
|
|
|
|
|
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.0'
|
|
|
|
|
@ -79,7 +81,7 @@ dependencies {
|
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
|
|
|
implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01'
|
|
|
|
|
implementation 'androidx.preference:preference-ktx:1.1.1'
|
|
|
|
|
implementation 'androidx.preference:preference-ktx:1.2.0'
|
|
|
|
|
implementation 'androidx.work:work-runtime-ktx:2.7.1'
|
|
|
|
|
implementation 'com.google.android.material:material:1.5.0'
|
|
|
|
|
//noinspection LifecycleAnnotationProcessorWithJava8
|
|
|
|
|
@ -89,8 +91,8 @@ dependencies {
|
|
|
|
|
implementation 'androidx.room:room-ktx:2.4.1'
|
|
|
|
|
kapt 'androidx.room:room-compiler:2.4.1'
|
|
|
|
|
|
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
|
|
|
|
implementation 'com.squareup.okio:okio:2.10.0'
|
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
|
|
|
|
|
implementation 'com.squareup.okio:okio:3.0.0'
|
|
|
|
|
implementation 'org.jsoup:jsoup:1.14.3'
|
|
|
|
|
|
|
|
|
|
implementation 'com.hannesdorfmann:adapterdelegates4-kotlin-dsl:4.3.1'
|
|
|
|
|
|