mirror of
https://codeberg.org/Mercury-IM/Mercury-IM
synced 2024-06-28 06:24:51 +02:00
44 lines
1.1 KiB
Groovy
44 lines
1.1 KiB
Groovy
|
apply plugin: 'com.android.library'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 28
|
||
|
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 19
|
||
|
targetSdkVersion 28
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
api project(":persistence")
|
||
|
|
||
|
// Dagger 2 for dependency injection
|
||
|
implementation "com.google.dagger:dagger:$daggerVersion"
|
||
|
annotationProcessor "com.google.dagger:dagger-compiler:$daggerVersion"
|
||
|
|
||
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||
|
|
||
|
implementation 'androidx.appcompat:appcompat:1.0.2'
|
||
|
testImplementation 'junit:junit:4.12'
|
||
|
androidTestImplementation 'androidx.test:runner:1.1.1'
|
||
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
|
||
|
|
||
|
// Room
|
||
|
api "androidx.room:room-runtime:$roomVersion"
|
||
|
annotationProcessor "androidx.room:room-compiler:$roomVersion"
|
||
|
}
|