diff options
Diffstat (limited to 'android-app/app/build.gradle')
| -rw-r--r-- | android-app/app/build.gradle | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/android-app/app/build.gradle b/android-app/app/build.gradle index d466e95..d587376 100644 --- a/android-app/app/build.gradle +++ b/android-app/app/build.gradle @@ -3,6 +3,7 @@ plugins { id 'org.jetbrains.kotlin.android' id 'com.google.gms.google-services' id 'com.google.firebase.appdistribution' + id 'kotlin-kapt' } android { @@ -35,6 +36,10 @@ android { jvmTarget = '1.8' } + buildFeatures { + viewBinding true + } + sourceSets { main { kotlin.srcDirs = ['src/main/kotlin', 'src/main/java'] @@ -49,18 +54,47 @@ android { } dependencies { + // Firebase implementation platform('com.google.firebase:firebase-bom:32.7.2') implementation 'com.google.firebase:firebase-analytics-ktx' - implementation 'org.maplibre.gl:android-sdk:11.5.1' + + // AndroidX core implementation 'androidx.core:core-ktx:1.12.0' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.11.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' - implementation 'com.google.android.gms:play-services-location:21.0.1' // Added for FusedLocationProviderClient + implementation 'androidx.fragment:fragment-ktx:1.6.2' + implementation 'androidx.recyclerview:recyclerview:1.3.2' + + // Lifecycle / ViewModel / Coroutines + implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0' + implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.7.0' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2' implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2' + // Networking + implementation 'com.squareup.retrofit2:retrofit:2.9.0' + implementation 'com.squareup.retrofit2:converter-moshi:2.9.0' + implementation 'com.squareup.okhttp3:okhttp:4.12.0' + implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0' + + // JSON parsing + implementation 'com.squareup.moshi:moshi-kotlin:1.15.0' + kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.15.0' + + // Location + implementation 'com.google.android.gms:play-services-location:21.2.0' + + // Map + implementation 'org.maplibre.gl:android-sdk:11.5.1' + + // Testing testImplementation 'junit:junit:4.13.2' + testImplementation 'io.mockk:mockk:1.13.9' + testImplementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.3' + testImplementation 'app.cash.turbine:turbine:1.1.0' + testImplementation 'com.squareup.okhttp3:mockwebserver:4.12.0' + androidTestImplementation 'androidx.test.ext:junit:1.1.5' androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1' } |
