AndroidAPS/core/main/android_module_dependencies.gradle
2023-10-16 15:20:50 +02:00

62 lines
1.3 KiB
Groovy

android {
compileSdk 34
defaultConfig {
minSdkVersion 28
targetSdkVersion 28
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
flavorDimensions = ["standard"]
productFlavors {
full {
getIsDefault().set(true)
dimension "standard"
}
pumpcontrol {
dimension "standard"
}
aapsclient {
dimension "standard"
}
aapsclient2 {
dimension "standard"
}
}
// disable for modules here
buildFeatures {
viewBinding = true
buildConfig = false
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
sourceSets {
main {
jniLibs.srcDirs = ['src/main/jniLibs']
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
lint {
checkReleaseBuilds false
disable 'MissingTranslation'
disable 'ExtraTranslation'
}
}
dependencies {
kapt "com.google.dagger:dagger-android-processor:$dagger_version"
kapt "com.google.dagger:dagger-compiler:$dagger_version"
}