774ed51e1b
* NSCv3 initial work * Allow only 1 NSC * read sgv * NSv3: Read Bolus, Carbs * NSCv3: more work * fix build * loading working * work on TT * TT working * TBR processing * EPS working * PS Sync * Process entries at once. Share code v1,v3 * BolusCalculatorWizard working * TherapyEvent working * process bg at once * improve sync * sdk -> ns-sdk * handle status per version * OffileEvents working * EB working * RemoteDeviceStatus * fix build * cleanup
42 lines
1.4 KiB
Groovy
42 lines
1.4 KiB
Groovy
android {
|
|
|
|
flavorDimensions "standard"
|
|
productFlavors {
|
|
full {
|
|
dimension "standard"
|
|
}
|
|
pumpcontrol {
|
|
dimension "standard"
|
|
}
|
|
aapsclient {
|
|
dimension "standard"
|
|
}
|
|
aapsclient2 {
|
|
dimension "standard"
|
|
}
|
|
}
|
|
|
|
// disable for modules here
|
|
buildFeatures {
|
|
buildConfig = false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
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"
|
|
|
|
// This is necessary to prevent Gradle build errors like:
|
|
//
|
|
// Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.0-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.0)
|
|
//
|
|
// By explicitly adding these dependencies, the jetifier
|
|
// is forced to use the correct lifecycle version instead
|
|
// of automatically picking 2.3.1.
|
|
//
|
|
// See: https://stackoverflow.com/a/69832319/560774
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
|
|
}
|