2020-01-02 15:19:57 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
2020-02-27 22:33:38 +01:00
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2020-01-02 15:19:57 +01:00
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
|
|
|
|
android {
|
2020-01-02 15:38:25 +01:00
|
|
|
compileSdkVersion rootProject.ext.compileSdkVersion
|
2020-01-02 15:19:57 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
2020-01-02 15:38:25 +01:00
|
|
|
minSdkVersion rootProject.ext.minSdkVersion
|
|
|
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
2020-01-02 15:19:57 +01:00
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
annotationProcessorOptions {
|
|
|
|
arguments = [
|
|
|
|
"room.incremental": "true"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-01-02 15:38:25 +01:00
|
|
|
minifyEnabled true
|
2020-01-02 15:19:57 +01:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2020-01-02 15:38:25 +01:00
|
|
|
|
|
|
|
debug {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2020-01-02 15:19:57 +01:00
|
|
|
}
|
|
|
|
|
2020-01-02 15:38:25 +01:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2020-01-02 15:19:57 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
|
|
|
|
2020-02-27 22:33:38 +01:00
|
|
|
api 'androidx.room:room-runtime:2.2.4'
|
|
|
|
kapt 'androidx.room:room-compiler:2.2.4'
|
|
|
|
implementation 'androidx.room:room-rxjava2:2.2.4'
|
2020-01-02 15:19:57 +01:00
|
|
|
|
|
|
|
api 'androidx.paging:paging-runtime:2.1.1'
|
|
|
|
api 'androidx.paging:paging-common:2.1.1'
|
|
|
|
|
|
|
|
api 'joda-time:joda-time:2.10.5'
|
|
|
|
}
|