AndroidAPS/core/build.gradle

57 lines
1.3 KiB
Groovy
Raw Normal View History

2020-05-03 21:27:42 +02:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
2020-05-05 23:27:01 +02:00
apply plugin: 'kotlin-kapt'
2021-01-18 23:59:01 +01:00
apply plugin: 'kotlin-parcelize'
2021-02-18 08:15:42 +01:00
apply plugin: 'com.hiya.jacoco-android'
2020-05-03 21:27:42 +02:00
android {
2020-05-03 21:37:02 +02:00
compileSdkVersion 28
2020-05-03 21:27:42 +02:00
defaultConfig {
2021-02-11 13:31:09 +01:00
minSdkVersion 26
2020-05-03 21:37:02 +02:00
targetSdkVersion 28
2020-05-03 21:27:42 +02:00
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
2020-05-03 22:18:58 +02:00
kotlinOptions {
jvmTarget = '1.8'
}
2020-12-05 23:23:06 +01:00
buildFeatures {
viewBinding true
}
2020-05-03 21:27:42 +02:00
buildTypes {
release {
minifyEnabled false
2020-05-03 22:18:58 +02:00
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
testCoverageEnabled(project.hasProperty('coverage'))
}
firebaseDisable {
System.setProperty("disableFirebase", "true")
2020-05-05 23:27:01 +02:00
ext.enableCrashlytics = false
2020-05-03 21:27:42 +02:00
}
}
2021-02-18 17:01:41 +01:00
flavorDimensions "standard"
productFlavors {
full {
dimension "standard"
}
}
2020-05-03 22:18:58 +02:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2020-05-03 21:27:42 +02:00
}
2021-02-06 00:30:27 +01:00
dependencies {
implementation project(':database')
}
2021-02-18 18:54:01 +01:00
apply from: 'core_dependencies.gradle'
apply from: "${project.rootDir}/gradle/test_dependencies.gradle"