Readrops/api/build.gradle

82 lines
2.6 KiB
Groovy
Raw Normal View History

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'
apply plugin: 'kotlin-kapt'
2019-01-12 13:14:01 +01:00
android {
compileSdkVersion rootProject.ext.compileSdkVersion
2019-01-12 13:14:01 +01:00
defaultConfig {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
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
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
2020-02-27 22:33:38 +01:00
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_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'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
testImplementation 'com.squareup.okhttp3:mockwebserver:4.9.0'
2020-10-25 14:03:49 +01:00
androidTestImplementation "org.koin:koin-test:2.1.6"
testImplementation "org.koin:koin-test:2.1.6"
2019-01-12 15:20:17 +01:00
implementation 'com.gitlab.mvysny.konsume-xml:konsume-xml:0.12'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
implementation('com.squareup.retrofit2:retrofit:2.9.0') {
exclude group: 'okhttp3', module: 'okhttp3'
}
implementation('com.squareup.retrofit2:converter-moshi:2.9.0') {
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.9.0') {
exclude module: 'stax'
exclude module: 'stax-api'
exclude module: 'xpp3'
}
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
2019-01-12 16:54:27 +01:00
implementation 'com.squareup.moshi:moshi:1.11.0'
kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.11.0'
2019-05-10 13:24:02 +02:00
api 'io.reactivex.rxjava2:rxandroid:2.1.1'
api 'org.jsoup:jsoup:1.13.1'
2020-11-07 13:43:24 +01:00
debugApi 'com.icapps.niddler:niddler:1.2.0'
releaseApi 'com.icapps.niddler:niddler-noop:1.2.0'
2019-01-12 13:14:01 +01:00
}