2020-05-06 01:27:38 +02:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2021-02-18 18:54:01 +01:00
|
|
|
apply plugin: 'com.hiya.jacoco-android'
|
2020-05-06 01:27:38 +02:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
|
|
|
|
defaultConfig {
|
2021-02-18 20:45:32 +01:00
|
|
|
minSdkVersion 26
|
2020-05-06 01:27:38 +02:00
|
|
|
targetSdkVersion 28
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2020-12-05 23:23:06 +01:00
|
|
|
buildFeatures {
|
|
|
|
viewBinding true
|
|
|
|
}
|
2020-05-06 01:27:38 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
testCoverageEnabled(project.hasProperty('coverage'))
|
|
|
|
}
|
|
|
|
firebaseDisable {
|
|
|
|
System.setProperty("disableFirebase", "true")
|
|
|
|
ext.enableCrashlytics = false
|
|
|
|
}
|
|
|
|
}
|
2021-02-18 20:45:32 +01:00
|
|
|
flavorDimensions "standard"
|
|
|
|
productFlavors {
|
|
|
|
full {
|
|
|
|
dimension "standard"
|
|
|
|
}
|
|
|
|
}
|
2020-05-06 01:27:38 +02:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':core')
|
2020-05-09 20:18:12 +02:00
|
|
|
implementation project(':dana')
|
2020-05-06 01:27:38 +02:00
|
|
|
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
|
|
|
2020-10-19 21:51:13 +02:00
|
|
|
implementation "androidx.core:core-ktx:$coreVersion"
|
2020-05-06 01:27:38 +02:00
|
|
|
|
|
|
|
annotationProcessor "com.google.dagger:dagger-compiler:$dagger_version"
|
|
|
|
annotationProcessor "com.google.dagger:dagger-android-processor:$dagger_version"
|
|
|
|
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
|
|
|
|
kapt "com.google.dagger:dagger-compiler:$dagger_version"
|
|
|
|
}
|
|
|
|
|
2021-02-18 18:54:01 +01:00
|
|
|
apply from: "${project.rootDir}/gradle/test_dependencies.gradle"
|