AndroidAPS/core/build.gradle

43 lines
1 KiB
Groovy
Raw Normal View History

2020-05-03 21:27:42 +02:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
2020-05-05 23:27:01 +02:00
apply plugin: 'kotlin-kapt'
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 {
2020-05-12 00:23:39 +02:00
minSdkVersion 24
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-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
}
}
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
}
2020-11-29 19:54:47 +01:00
apply from: 'core_dependencies.gradle'