build.gradle 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. id 'org.jetbrains.kotlin.plugin.serialization'
  5. id 'androidx.navigation.safeargs'
  6. id "org.jetbrains.kotlin.kapt"
  7. id 'com.google.gms.google-services'
  8. id 'com.google.firebase.crashlytics'
  9. }
  10. android {
  11. compileSdk 31
  12. defaultConfig {
  13. applicationId "ru.mephi.voip"
  14. minSdk 21
  15. targetSdk 31
  16. versionCode 4
  17. versionName "0.0.2"
  18. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled true
  23. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  24. debuggable false
  25. }
  26. // debug {
  27. // minifyEnabled false
  28. // proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  29. // debuggable true
  30. // }
  31. }
  32. buildFeatures {
  33. viewBinding true
  34. dataBinding true
  35. compose true
  36. }
  37. compileOptions {
  38. sourceCompatibility JavaVersion.VERSION_1_8
  39. targetCompatibility JavaVersion.VERSION_1_8
  40. }
  41. composeOptions {
  42. kotlinCompilerExtensionVersion "1.0.3" // require kotlin-gradle-plugin 1.5.30
  43. }
  44. kotlinOptions {
  45. jvmTarget = '1.8'
  46. }
  47. }
  48. dependencies {
  49. implementation 'androidx.core:core-ktx:1.6.0'
  50. implementation 'androidx.appcompat:appcompat:1.3.1'
  51. implementation 'com.google.android.material:material:1.4.0'
  52. implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
  53. implementation 'androidx.compose.material:material:1.0.5'
  54. implementation "org.jetbrains.kotlinx:kotlinx-serialization-core:1.3.0"
  55. implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0"
  56. implementation "io.coil-kt:coil:1.3.2"
  57. implementation "io.coil-kt:coil-compose:1.3.2"
  58. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.30"
  59. implementation "io.insert-koin:koin-android:3.1.2"
  60. implementation "io.insert-koin:koin-androidx-compose:3.1.2"
  61. implementation "androidx.room:room-ktx:2.3.0"
  62. kapt "androidx.room:room-compiler:2.3.0"
  63. coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.1.5"
  64. implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
  65. implementation "androidx.recyclerview:recyclerview:1.2.1"
  66. implementation "com.github.xabaras:RecyclerViewSwipeDecorator:1.3"
  67. implementation "androidx.navigation:navigation-fragment-ktx:2.3.5"
  68. implementation "androidx.navigation:navigation-ui-ktx:2.3.5"
  69. implementation "androidx.navigation:navigation-runtime-ktx:2.3.5"
  70. implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  71. implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0"
  72. implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.0"
  73. implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.4.0"
  74. implementation 'androidx.compose.runtime:runtime-livedata:1.1.0-beta02'
  75. implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2"
  76. implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.5.2"
  77. debugImplementation "org.kodein.db:kodein-db-android-debug:0.8.1-beta"
  78. releaseImplementation "org.kodein.db:kodein-db-android:0.8.1-beta"
  79. implementation "org.kodein.db:kodein-db-serializer-kotlinx:0.8.1-beta"
  80. implementation "com.jakewharton.timber:timber:5.0.1"
  81. implementation "androidx.preference:preference-ktx:1.1.1"
  82. implementation "com.vmadalin:easypermissions-ktx:1.0.0"
  83. implementation "com.polyak:icon-switch:1.0.0"
  84. implementation "io.ktor:ktor-client-okhttp:1.6.2"
  85. implementation "io.ktor:ktor-client-serialization:1.6.2"
  86. implementation "io.ktor:ktor-client-core:1.6.2"
  87. implementation "io.ktor:ktor-client-json:1.6.2"
  88. implementation 'com.github.leonardoxh:keystore-ultimate:1.3.0'
  89. implementation platform('com.google.firebase:firebase-bom:29.0.0')
  90. implementation 'com.google.firebase:firebase-analytics-ktx'
  91. implementation 'com.google.firebase:firebase-crashlytics-ktx'
  92. implementation 'com.github.imtuann:FloatingActionButtonExpandable:1.1.2'
  93. implementation files("aars/abto_android_voip_sdk.aar")
  94. }