2021-02-11 11:01:18 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2021-02-09 21:21:30 +01:00
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 28
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 24
|
|
|
|
targetSdkVersion 28
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
|
|
}
|
|
|
|
|
2021-02-11 11:01:18 +01:00
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
|
|
|
|
2021-02-09 21:21:30 +01:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
2021-02-11 11:01:18 +01:00
|
|
|
debug {
|
|
|
|
testCoverageEnabled(project.hasProperty('coverage'))
|
|
|
|
}
|
|
|
|
firebaseDisable {
|
|
|
|
System.setProperty("disableFirebase", "true")
|
|
|
|
ext.enableCrashlytics = false
|
|
|
|
}
|
2021-02-09 21:21:30 +01:00
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-02-17 19:34:01 +01:00
|
|
|
implementation project(':core')
|
2021-02-18 23:31:31 +01:00
|
|
|
implementation project(':omnipod-common')
|
2021-02-17 19:34:01 +01:00
|
|
|
|
2021-02-11 11:01:18 +01: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-11 11:24:31 +01:00
|
|
|
testImplementation "junit:junit:$junit_version"
|
|
|
|
androidTestImplementation "androidx.test.ext:junit:$androidx_junit"
|
2021-02-09 21:21:30 +01:00
|
|
|
}
|