mirror of
https://github.com/dzeiocom/OpenHealth.git
synced 2025-07-01 01:09:17 +00:00
feat: Started changes to new Google extension
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
@ -15,6 +15,14 @@ plugins {
|
||||
kotlin("kapt")
|
||||
}
|
||||
|
||||
val appID = "com.dzeio.openhealth"
|
||||
|
||||
// Languages
|
||||
val locales = listOf("en", "fr")
|
||||
|
||||
val sdkMin = 21
|
||||
val sdkTarget = 33
|
||||
|
||||
android {
|
||||
|
||||
signingConfigs {
|
||||
@ -37,17 +45,17 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
compileSdk = 33
|
||||
compileSdk = sdkTarget
|
||||
|
||||
defaultConfig {
|
||||
// App ID
|
||||
applicationId = "com.dzeio.openhealth"
|
||||
applicationId = appID
|
||||
|
||||
// Android 5 Lollipop
|
||||
minSdk = 21
|
||||
minSdk = sdkMin
|
||||
|
||||
// Android 12
|
||||
targetSdk = 33
|
||||
targetSdk = sdkTarget
|
||||
|
||||
// Semantic Versioning
|
||||
versionName = "1.0.0"
|
||||
@ -55,8 +63,11 @@ android {
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
// Languages
|
||||
val locales = listOf("en", "fr")
|
||||
kapt {
|
||||
arguments {
|
||||
arg("room.schemaLocation", "$projectDir/schemas")
|
||||
}
|
||||
}
|
||||
|
||||
buildConfigField(
|
||||
"String[]",
|
||||
@ -104,7 +115,7 @@ android {
|
||||
viewBinding = true
|
||||
dataBinding = true
|
||||
}
|
||||
namespace = "com.dzeio.openhealth"
|
||||
namespace = appID
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -115,10 +126,10 @@ dependencies {
|
||||
implementation("com.dzeio:crashhandler:1.0.1")
|
||||
|
||||
// Core dependencies
|
||||
implementation("androidx.core:core-ktx:1.8.0")
|
||||
implementation("androidx.appcompat:appcompat:1.6.0-beta01")
|
||||
implementation("androidx.core:core-ktx:1.9.0")
|
||||
implementation("androidx.appcompat:appcompat:1.7.0-alpha01")
|
||||
implementation("javax.inject:javax.inject:1")
|
||||
implementation("com.google.android.material:material:1.7.0-beta01")
|
||||
implementation("com.google.android.material:material:1.8.0-alpha02")
|
||||
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
|
||||
implementation("androidx.lifecycle:lifecycle-livedata-ktx:2.5.1")
|
||||
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1")
|
||||
@ -135,8 +146,8 @@ dependencies {
|
||||
implementation("androidx.datastore:datastore:1.0.0")
|
||||
|
||||
// Navigation
|
||||
implementation("androidx.navigation:navigation-fragment-ktx:2.5.1")
|
||||
implementation("androidx.navigation:navigation-ui-ktx:2.5.1")
|
||||
implementation("androidx.navigation:navigation-fragment-ktx:2.5.3")
|
||||
implementation("androidx.navigation:navigation-ui-ktx:2.5.3")
|
||||
|
||||
// Paging
|
||||
implementation("androidx.paging:paging-runtime:3.1.1")
|
||||
@ -148,8 +159,8 @@ dependencies {
|
||||
|
||||
// Tests
|
||||
testImplementation("junit:junit:4.13.2")
|
||||
androidTestImplementation("androidx.test.ext:junit:1.1.3")
|
||||
androidTestImplementation("androidx.test.espresso:espresso-core:3.4.0")
|
||||
androidTestImplementation("androidx.test.ext:junit:1.1.4")
|
||||
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
|
||||
|
||||
// Graph
|
||||
implementation("com.github.PhilJay:MPAndroidChart:v3.1.0")
|
||||
@ -163,7 +174,8 @@ dependencies {
|
||||
|
||||
// Google Fit
|
||||
implementation("com.google.android.gms:play-services-fitness:21.1.0")
|
||||
implementation("com.google.android.gms:play-services-auth:20.2.0")
|
||||
implementation("com.google.android.gms:play-services-auth:20.3.0")
|
||||
implementation("androidx.health.connect:connect-client:1.0.0-alpha07")
|
||||
|
||||
// Samsung Health
|
||||
implementation(files("libs/samsung-health-data-1.5.0.aar"))
|
||||
|
Reference in New Issue
Block a user