build.gradle 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. id 'kotlin-kapt'
  5. id 'com.google.gms.google-services'
  6. }
  7. android {
  8. namespace 'com.example.snapshots'
  9. compileSdk 33
  10. defaultConfig {
  11. applicationId "com.example.snapshots"
  12. minSdk 21
  13. targetSdk 33
  14. versionCode 1
  15. versionName "1.0"
  16. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. compileOptions {
  25. sourceCompatibility JavaVersion.VERSION_1_8
  26. targetCompatibility JavaVersion.VERSION_1_8
  27. }
  28. kotlinOptions {
  29. jvmTarget = '1.8'
  30. }
  31. viewBinding {
  32. enabled = true
  33. }
  34. }
  35. dependencies {
  36. implementation 'androidx.core:core-ktx:1.7.0'
  37. implementation 'androidx.appcompat:appcompat:1.6.1'
  38. implementation 'com.google.android.material:material:1.9.0'
  39. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  40. implementation 'com.github.bumptech.glide:glide:4.16.0'
  41. implementation(platform("com.google.firebase:firebase-bom:32.2.3"))
  42. // Firebase Storage
  43. implementation("com.google.firebase:firebase-storage-ktx")
  44. // FirebaseUI for Firebase Realtime Database
  45. implementation 'com.firebaseui:firebase-ui-database:8.0.2'
  46. // FirebaseUI for Firebase Auth
  47. implementation 'com.firebaseui:firebase-ui-auth:8.0.2'
  48. }