build.gradle.kts 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. plugins {
  2. alias(libs.plugins.android.application)
  3. alias(libs.plugins.jetbrains.kotlin.android)
  4. alias(libs.plugins.compose.compiler)
  5. kotlin("plugin.serialization") version "1.4.21"
  6. }
  7. android {
  8. namespace = "com.example.mystictale"
  9. compileSdk = 34
  10. defaultConfig {
  11. applicationId = "com.example.mystictale"
  12. minSdk = 24
  13. targetSdk = 34
  14. versionCode = 1
  15. versionName = "1.0"
  16. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  17. vectorDrawables {
  18. useSupportLibrary = true
  19. }
  20. }
  21. buildTypes {
  22. release {
  23. isMinifyEnabled = false
  24. proguardFiles(
  25. getDefaultProguardFile("proguard-android-optimize.txt"),
  26. "proguard-rules.pro"
  27. )
  28. }
  29. }
  30. compileOptions {
  31. sourceCompatibility = JavaVersion.VERSION_1_8
  32. targetCompatibility = JavaVersion.VERSION_1_8
  33. }
  34. kotlinOptions {
  35. jvmTarget = "1.8"
  36. }
  37. buildFeatures {
  38. compose = true
  39. }
  40. composeOptions {
  41. kotlinCompilerExtensionVersion = "1.5.1"
  42. }
  43. packaging {
  44. resources {
  45. excludes += "/META-INF/{AL2.0,LGPL2.1}"
  46. }
  47. }
  48. }
  49. dependencies {
  50. implementation(libs.androidx.core.ktx)
  51. implementation(libs.androidx.lifecycle.runtime.ktx)
  52. implementation(libs.androidx.activity.compose)
  53. implementation(platform(libs.androidx.compose.bom))
  54. implementation(libs.androidx.ui)
  55. implementation(libs.androidx.ui.graphics)
  56. implementation(libs.androidx.ui.tooling.preview)
  57. implementation(libs.androidx.material3)
  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 (libs.datetime)
  66. implementation(libs.androidx.navigation.compose)
  67. implementation(libs.androidx.navigation.fragment)
  68. implementation(libs.androidx.navigation.ui)
  69. implementation(libs.androidx.navigation.dynamic.features.fragment)
  70. implementation(platform(libs.bom))
  71. implementation(libs.postgrest.kt)
  72. implementation(libs.auth.kt)
  73. implementation(libs.realtime.kt)
  74. implementation(libs.ktor.client.okhttp)
  75. implementation (libs.storage.kt)
  76. implementation (libs.androidx.fragment.ktx)
  77. implementation (libs.androidx.lifecycle.viewmodel.ktx)
  78. implementation (libs.androidx.lifecycle.viewmodel.compose)
  79. implementation(libs.okhttp)
  80. implementation (libs.kotlinx.coroutines.android)
  81. implementation (libs.gson)
  82. implementation (libs.jackson.module.kotlin)
  83. implementation(libs.coil.compose)
  84. implementation(libs.retrofit)
  85. implementation(libs.converter.gson)
  86. implementation(libs.logging.interceptor)
  87. implementation (libs.accompanist.navigation.animation)
  88. testImplementation (libs.kotlinx.coroutines.test)
  89. }