9c026b89ae
ClippyAuto CI / build (push) Has been cancelled
- Fix settings.gradle.kts (dependencyResolutionManagement) - Add gradle-wrapper.properties + gradle.properties - Defer Firebase/FCM to Sprint 2 (no google-services.json yet) - Add placeholder ic_clippy drawable - Add test deps (JUnit, coroutines-test) - VoiceStateMachineTest: 14 tests covering happy path, interruption, cancellation, invalid transitions, reset - ResponseDedupTest: basic dedup cache tests - Add kotlinx-serialization plugin for Ktor
73 lines
2.1 KiB
Kotlin
73 lines
2.1 KiB
Kotlin
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
id("org.jetbrains.kotlin.plugin.serialization")
|
|
// Firebase deferred to Sprint 2
|
|
// id("com.google.gms.google-services")
|
|
}
|
|
|
|
android {
|
|
namespace = "farm.hobbs.clippyauto"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
applicationId = "farm.hobbs.clippyauto"
|
|
minSdk = 28
|
|
targetSdk = 35
|
|
versionCode = 1
|
|
versionName = "0.1.0-mvp"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Android Auto
|
|
implementation("androidx.car.app:app:1.7.0")
|
|
implementation("androidx.car.app:app-projected:1.7.0")
|
|
|
|
// Firebase Cloud Messaging — Sprint 2
|
|
// implementation(platform("com.google.firebase:firebase-bom:33.9.0"))
|
|
// implementation("com.google.firebase:firebase-messaging-ktx")
|
|
|
|
// HTTP client for Matrix REST API
|
|
implementation("io.ktor:ktor-client-okhttp:3.0.3")
|
|
implementation("io.ktor:ktor-client-content-negotiation:3.0.3")
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:3.0.3")
|
|
|
|
// Coroutines
|
|
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.9.0")
|
|
|
|
// Lifecycle
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.8.7")
|
|
implementation("androidx.lifecycle:lifecycle-service:2.8.7")
|
|
|
|
// DataStore (settings)
|
|
implementation("androidx.datastore:datastore-preferences:1.1.3")
|
|
|
|
// Security (Keystore wrapper)
|
|
implementation("androidx.security:security-crypto:1.1.0-alpha06")
|
|
|
|
// Core
|
|
implementation("androidx.core:core-ktx:1.15.0")
|
|
implementation("androidx.appcompat:appcompat:1.7.0")
|
|
|
|
// Testing
|
|
testImplementation("junit:junit:4.13.2")
|
|
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.9.0")
|
|
}
|