Meditation timer: gong service, wheel picker, history + health sync, Gitea CI
Some checks failed
Build & Release APK / build (push) Failing after 46s

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-07 01:05:22 -07:00
commit 2370e9c796
18 changed files with 1527 additions and 0 deletions

58
app/build.gradle.kts Normal file
View File

@@ -0,0 +1,58 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("org.jetbrains.kotlin.plugin.compose")
}
android {
namespace = "com.marcus.meditationtimer"
compileSdk = 35
defaultConfig {
applicationId = "com.marcus.meditationtimer"
minSdk = 29
targetSdk = 35
versionCode = System.getenv("VERSION_CODE")?.toIntOrNull() ?: 2
versionName = System.getenv("VERSION_NAME") ?: "1.1-dev"
}
val releaseKeystore = System.getenv("KEYSTORE_FILE")
if (releaseKeystore != null) {
signingConfigs {
create("release") {
storeFile = file(releaseKeystore)
storePassword = System.getenv("KEYSTORE_PASSWORD")
keyAlias = System.getenv("KEY_ALIAS") ?: "meditation"
keyPassword = System.getenv("KEY_PASSWORD") ?: System.getenv("KEYSTORE_PASSWORD")
}
}
}
buildTypes {
release {
isMinifyEnabled = false
if (releaseKeystore != null) {
signingConfig = signingConfigs.getByName("release")
}
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
buildFeatures {
compose = true
}
}
dependencies {
val composeBom = platform("androidx.compose:compose-bom:2024.10.01")
implementation(composeBom)
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.material3:material3")
implementation("androidx.activity:activity-compose:1.9.3")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
}