Mercury-IM/persistence-room/build.gradle

56 lines
1.6 KiB
Groovy
Raw Normal View History

2019-05-19 02:00:33 +02:00
apply plugin: 'com.android.library'
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 19
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
2019-05-27 21:34:11 +02:00
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
}
}
2019-05-19 02:00:33 +02:00
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
2019-08-19 02:36:31 +02:00
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
2019-05-19 02:00:33 +02:00
}
dependencies {
api project(":persistence")
// Dagger 2 for dependency injection
implementation "com.google.dagger:dagger:$daggerVersion"
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
2019-08-03 19:05:50 +02:00
testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.test:runner:$andxTestRunnerVersion"
androidTestImplementation "androidx.test.espresso:espresso-core:$andxTestEspressoVersion"
androidTestImplementation "androidx.test:core:$andxTestCoreVersion"
androidTestImplementation "androidx.test.ext:junit:$andxTestJunitVersion"
2019-05-19 02:00:33 +02:00
// Room
api "androidx.room:room-runtime:$roomVersion"
annotationProcessor "androidx.room:room-compiler:$roomVersion"
2019-08-03 19:05:50 +02:00
implementation "androidx.room:room-rxjava2:$roomRxJavaVersion"
api "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
2019-05-19 02:00:33 +02:00
}