2019-01-12 13:14:01 +01:00
|
|
|
apply plugin: 'com.android.library'
|
2019-09-14 12:56:10 +02:00
|
|
|
apply plugin: 'kotlin-android'
|
2019-01-12 13:14:01 +01:00
|
|
|
|
|
|
|
android {
|
2019-12-21 21:46:02 +01:00
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
2019-01-12 13:14:01 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
2019-12-21 21:46:02 +01:00
|
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
2020-03-20 22:14:26 +01:00
|
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
2019-01-12 13:14:01 +01:00
|
|
|
|
2019-05-10 13:24:02 +02:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2019-01-12 13:14:01 +01:00
|
|
|
}
|
|
|
|
|
2020-03-22 18:22:37 +01:00
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
|
2020-08-03 23:45:21 +02:00
|
|
|
sourceSets {
|
|
|
|
androidTest.assets.srcDirs += files("$projectDir/androidTest/assets".toString())
|
|
|
|
}
|
|
|
|
|
2019-01-12 13:14:01 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2019-11-24 16:55:20 +01:00
|
|
|
minifyEnabled true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
debug {
|
2019-01-12 13:14:01 +01:00
|
|
|
minifyEnabled false
|
2021-09-16 22:29:25 +02:00
|
|
|
testCoverageEnabled true
|
2019-01-12 13:14:01 +01:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2019-08-09 21:57:11 +02:00
|
|
|
compileOptions {
|
2020-02-27 22:33:38 +01:00
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
2019-08-09 21:57:11 +02:00
|
|
|
}
|
2021-07-02 18:56:11 +02:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2019-01-12 13:14:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2020-07-19 11:16:24 +02:00
|
|
|
implementation project(':db')
|
2019-01-12 13:14:01 +01:00
|
|
|
|
2020-09-20 18:44:55 +02:00
|
|
|
testImplementation 'junit:junit:4.13'
|
2021-07-03 19:44:42 +02:00
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test:runner:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test:rules:1.4.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2020-11-09 22:00:55 +01:00
|
|
|
testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.0'
|
2021-09-20 19:27:12 +02:00
|
|
|
|
|
|
|
testImplementation "io.insert-koin:koin-test-junit4:$rootProject.ext.koin_version"
|
|
|
|
testImplementation "io.insert-koin:koin-test:$rootProject.ext.koin_version"
|
2019-01-12 15:20:17 +01:00
|
|
|
|
2021-07-03 19:44:42 +02:00
|
|
|
implementation 'com.gitlab.mvysny.konsume-xml:konsume-xml:1.0'
|
2021-09-22 22:50:54 +02:00
|
|
|
implementation 'org.redundent:kotlin-xml-builder:1.7.3'
|
2020-09-11 22:53:50 +02:00
|
|
|
|
2021-07-03 19:44:42 +02:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.1'
|
2020-08-25 23:35:19 +02:00
|
|
|
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation('com.squareup.retrofit2:retrofit:2.9.0') {
|
2021-07-19 17:11:54 +02:00
|
|
|
exclude group: 'com.squareup.okhttp3', module: 'okhttp3'
|
2020-08-25 23:35:19 +02:00
|
|
|
}
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation('com.squareup.retrofit2:converter-moshi:2.9.0') {
|
2021-07-19 17:11:54 +02:00
|
|
|
exclude group: 'com.squareup.moshi', module: 'moshi'
|
2020-01-03 14:25:51 +01:00
|
|
|
}
|
|
|
|
|
2020-10-06 22:45:19 +02:00
|
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
|
2019-01-12 16:54:27 +01:00
|
|
|
|
2021-07-03 19:44:42 +02:00
|
|
|
implementation 'com.squareup.moshi:moshi:1.12.0'
|
2019-05-10 13:24:02 +02:00
|
|
|
|
2020-01-02 15:38:25 +01:00
|
|
|
api 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
2020-10-06 22:45:19 +02:00
|
|
|
api 'org.jsoup:jsoup:1.13.1'
|
2020-11-03 21:13:38 +01:00
|
|
|
|
2021-07-02 18:56:11 +02:00
|
|
|
debugApi 'com.chimerapps.niddler:niddler:1.5.5'
|
|
|
|
releaseApi 'com.chimerapps.niddler:niddler-noop:1.5.5'
|
2021-12-24 19:07:05 +01:00
|
|
|
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.1"
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-coroutines-rx2:1.5.1"
|
2019-01-12 13:14:01 +01:00
|
|
|
}
|