build.gradle.kts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. plugins {
  2. id("com.android.application")
  3. id("org.jetbrains.kotlin.android")
  4. //+капт для базы
  5. id("kotlin-kapt")
  6. id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin")
  7. }
  8. android {
  9. namespace = "com.example.zonic"
  10. compileSdk = 34
  11. defaultConfig {
  12. applicationId = "com.example.zonic"
  13. minSdk = 24
  14. targetSdk = 34
  15. versionCode = 1
  16. versionName = "1.0"
  17. testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
  18. }
  19. buildTypes {
  20. release {
  21. isMinifyEnabled = false
  22. proguardFiles(
  23. getDefaultProguardFile("proguard-android-optimize.txt"),
  24. "proguard-rules.pro"
  25. )
  26. }
  27. }
  28. compileOptions {
  29. sourceCompatibility = JavaVersion.VERSION_1_8
  30. targetCompatibility = JavaVersion.VERSION_1_8
  31. }
  32. kotlinOptions {
  33. jvmTarget = "1.8"
  34. }
  35. buildFeatures {
  36. viewBinding = true
  37. }
  38. }
  39. dependencies {
  40. implementation("androidx.core:core-ktx:1.9.0")
  41. implementation("androidx.appcompat:appcompat:1.6.1")
  42. implementation("com.google.android.material:material:1.10.0")
  43. implementation("androidx.constraintlayout:constraintlayout:2.1.4")
  44. implementation("com.google.android.gms:play-services-maps:18.2.0")
  45. implementation("net.sourceforge.jtds:jtds:1.3.1")
  46. testImplementation("junit:junit:4.13.2")
  47. androidTestImplementation("androidx.test.ext:junit:1.1.5")
  48. androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
  49. // JetpackNavigation
  50. implementation ("androidx.navigation:navigation-fragment-ktx:2.5.3")
  51. implementation ("androidx.navigation:navigation-ui-ktx:2.5.3")
  52. //YandexMap
  53. implementation ("com.yandex.android:maps.mobile:4.3.1-full")
  54. //это база
  55. // implementation("androidx.room:room-compiler:2.4.3")
  56. // kapt("androidx.room:room-ktx:2.4.3")
  57. }