mirror of https://github.com/readrops/Readrops.git
55 lines
1.4 KiB
Groovy
55 lines
1.4 KiB
Groovy
|
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'kotlin-android-extensions'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
apply plugin: 'kotlin-kapt'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 29
|
||
|
buildToolsVersion "29.0.2"
|
||
|
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 21
|
||
|
targetSdkVersion 29
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
javaCompileOptions {
|
||
|
annotationProcessorOptions {
|
||
|
arguments = [
|
||
|
"room.incremental": "true"
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
consumerProguardFiles 'consumer-rules.pro'
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
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'
|
||
|
|
||
|
api 'androidx.room:room-runtime:2.2.3'
|
||
|
kapt 'androidx.room:room-compiler:2.2.3'
|
||
|
implementation 'androidx.room:room-rxjava2:2.2.3'
|
||
|
|
||
|
api 'androidx.paging:paging-runtime:2.1.1'
|
||
|
api 'androidx.paging:paging-common:2.1.1'
|
||
|
|
||
|
api 'joda-time:joda-time:2.10.5'
|
||
|
}
|