build.gradle.kts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. plugins {
  2. alias(libs.plugins.android.application)
  3. alias(libs.plugins.kotlin.android)
  4. id("kotlin-kapt")
  5. id("com.google.dagger.hilt.android")
  6. kotlin("plugin.serialization") version "1.9.22"
  7. }
  8. android {
  9. namespace = "com.example.testirovanye_supabase"
  10. compileSdk = 34
  11. defaultConfig {
  12. applicationId = "com.example.testirovanye_supabase"
  13. minSdk = 24
  14. targetSdk = 34
  15. versionCode = 1
  16. versionName = "1.0"
  17. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  18. vectorDrawables {
  19. useSupportLibrary = true
  20. }
  21. }
  22. buildTypes {
  23. release {
  24. isMinifyEnabled = false
  25. proguardFiles(
  26. getDefaultProguardFile("proguard-android-optimize.txt"),
  27. "proguard-rules.pro"
  28. )
  29. }
  30. }
  31. compileOptions {
  32. sourceCompatibility = JavaVersion.VERSION_1_8
  33. targetCompatibility = JavaVersion.VERSION_1_8
  34. }
  35. kotlinOptions {
  36. jvmTarget = "1.8"
  37. }
  38. buildFeatures {
  39. compose = true
  40. }
  41. composeOptions {
  42. kotlinCompilerExtensionVersion = "1.5.1"
  43. }
  44. packaging {
  45. resources {
  46. excludes += "/META-INF/{AL2.0,LGPL2.1}"
  47. }
  48. }
  49. }
  50. dependencies {
  51. implementation(libs.androidx.core.ktx)
  52. implementation(libs.androidx.lifecycle.runtime.ktx)
  53. implementation(libs.androidx.activity.compose)
  54. implementation(platform(libs.androidx.compose.bom))
  55. implementation(libs.androidx.ui)
  56. implementation(libs.androidx.ui.graphics)
  57. implementation(libs.androidx.ui.tooling.preview)
  58. implementation(libs.androidx.material3)
  59. implementation(libs.volley)
  60. implementation(libs.androidx.espresso.core)
  61. implementation(libs.androidx.benchmark.macro)
  62. implementation(libs.firebase.firestore.ktx)
  63. testImplementation(libs.junit)
  64. androidTestImplementation(libs.androidx.junit)
  65. androidTestImplementation(libs.androidx.espresso.core)
  66. androidTestImplementation(platform(libs.androidx.compose.bom))
  67. androidTestImplementation(libs.androidx.ui.test.junit4)
  68. debugImplementation(libs.androidx.ui.tooling)
  69. debugImplementation(libs.androidx.ui.test.manifest)
  70. implementation(platform(libs.bom))
  71. implementation(libs.postgrest.kt)
  72. implementation(libs.realtime.kt)
  73. implementation(libs.storage.kt)
  74. implementation(libs.supabase.gotrue.kt)
  75. implementation(libs.ktor.client.android)
  76. implementation(libs.coil.compose)
  77. kapt(libs.hilt.compiler)
  78. implementation(libs.androidx.hilt.navigation.compose)
  79. implementation(libs.hilt.android)
  80. implementation(libs.androidx.navigation.compose)
  81. }