build.gradle.kts 2.5 KB

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