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'
|
2020-02-27 22:33:38 +01:00
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-01-03 14:25:51 +01:00
|
|
|
apply plugin: 'kotlin-kapt'
|
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
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
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
|
|
|
}
|
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-03-23 19:33:45 +01:00
|
|
|
// xpp3 has a conflict with kxml when running connectedCheck task
|
|
|
|
configurations {
|
|
|
|
all*.exclude group: 'xpp3', module: 'xpp3'
|
|
|
|
}
|
|
|
|
|
2020-02-27 22:33:38 +01:00
|
|
|
implementation "androidx.core:core-ktx:1.2.0"
|
2020-01-03 14:25:51 +01:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
2019-12-07 13:59:30 +01:00
|
|
|
|
2019-01-12 13:14:01 +01:00
|
|
|
testImplementation 'junit:junit:4.12'
|
2019-07-20 16:46:59 +02:00
|
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
2019-01-12 15:20:17 +01:00
|
|
|
|
2020-01-03 14:25:51 +01:00
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.7.1'
|
|
|
|
implementation('com.squareup.retrofit2:converter-moshi:2.7.1') {
|
|
|
|
exclude group: 'moshi', module: 'moshi' // moshi converter uses moshi 1.8.0 which breaks codegen 1.9.2
|
|
|
|
}
|
|
|
|
|
|
|
|
implementation 'com.squareup.retrofit2:converter-simplexml:2.7.1'
|
|
|
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.7.1'
|
|
|
|
|
|
|
|
implementation 'com.squareup.moshi:moshi:1.9.2'
|
|
|
|
kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.9.2'
|
2019-01-12 16:54:27 +01:00
|
|
|
|
2019-09-19 10:39:15 +02:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.2.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'
|
|
|
|
api 'org.jsoup:jsoup:1.12.1'
|
2019-01-12 13:14:01 +01:00
|
|
|
}
|