mirror of https://github.com/readrops/Readrops.git
83 lines
2.6 KiB
Groovy
83 lines
2.6 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
android {
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
|
|
|
defaultConfig {
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
|
buildToolsVersion rootProject.ext.buildToolsVersion
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
sourceSets {
|
|
androidTest.assets.srcDirs += files("$projectDir/androidTest/assets".toString())
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
|
|
debug {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation project(':db')
|
|
|
|
implementation "androidx.core:core-ktx:1.2.0"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
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'
|
|
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:4.8.1'
|
|
|
|
implementation 'com.gitlab.mvysny.konsume-xml:konsume-xml:0.12'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.8.1'
|
|
|
|
implementation('com.squareup.retrofit2:retrofit:2.7.1') {
|
|
exclude group: 'okhttp3', module: 'okhttp3'
|
|
}
|
|
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') {
|
|
exclude module: 'stax'
|
|
exclude module: 'stax-api'
|
|
exclude module: 'xpp3'
|
|
}
|
|
|
|
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'
|
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.2.0'
|
|
|
|
api 'io.reactivex.rxjava2:rxandroid:2.1.1'
|
|
api 'org.jsoup:jsoup:1.12.1'
|
|
}
|