calorie-ai-android/app/build.gradle
Daniel dd70da8c71
All checks were successful
Android CI / build (push) Successful in 2m6s
Web CI / test (push) Successful in 1m14s
Android Release / release-apk (push) Successful in 1m52s
Add Capacitor Health Connect sync
2026-05-25 16:31:51 +02:00

56 lines
1.5 KiB
Groovy

plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'org.jetbrains.kotlin.plugin.compose'
}
android {
namespace 'com.danvics.calorieai'
compileSdk 35
defaultConfig {
applicationId 'com.danvics.calorieai'
minSdk 26
targetSdk 35
versionCode 11
versionName '1.11'
}
buildFeatures {
compose true
}
applicationVariants.configureEach { variant ->
variant.outputs.configureEach {
outputFileName = "calorie-ai-${variant.versionName}.apk"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
testOptions {
unitTests.returnDefaultValues = true
}
}
dependencies {
implementation platform('androidx.compose:compose-bom:2025.05.01')
implementation 'androidx.activity:activity-compose:1.10.1'
implementation 'androidx.compose.material3:material3'
implementation 'androidx.compose.material:material-icons-extended'
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation 'androidx.health.connect:connect-client:1.1.0-alpha12'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0'
debugImplementation 'androidx.compose.ui:ui-tooling'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.json:json:20240303'
}