build.gradle 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.sharix.sportsmanfriend'
  7. compileSdk 33
  8. defaultConfig {
  9. applicationId "com.sharix.sportsmanfriend"
  10. minSdk 23
  11. targetSdk 33
  12. versionCode 1
  13. versionName "1.0"
  14. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  15. }
  16. buildTypes {
  17. release {
  18. minifyEnabled false
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. }
  22. buildFeatures {
  23. viewBinding true
  24. }
  25. compileOptions {
  26. sourceCompatibility JavaVersion.VERSION_1_8
  27. targetCompatibility JavaVersion.VERSION_1_8
  28. }
  29. }
  30. dependencies {
  31. implementation 'com.github.rahatarmanahmed:circularprogressview:2.5.0'
  32. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  33. implementation 'com.google.android.gms:play-services-location:21.0.1'
  34. implementation 'org.osmdroid:osmdroid-android:6.1.14'
  35. implementation 'com.github.MKergall:osmbonuspack:6.9.0'
  36. implementation 'androidx.appcompat:appcompat:1.6.1'
  37. implementation 'com.google.android.material:material:1.9.0'
  38. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  39. implementation 'androidx.test.espresso:espresso-core:3.5.1'
  40. implementation 'androidx.test.ext:junit:1.1.5'
  41. //Base implementation
  42. implementation 'androidx.core:core-ktx:1.10.1'
  43. implementation 'androidx.appcompat:appcompat:1.6.1'
  44. implementation 'com.google.android.material:material:1.9.0'
  45. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  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. //Splash Screen
  50. implementation("androidx.core:core-splashscreen:1.0.1")
  51. // Navigation Component
  52. implementation 'androidx.navigation:navigation-fragment-ktx:2.6.0'
  53. implementation 'androidx.navigation:navigation-ui-ktx:2.6.0'
  54. // Room components
  55. // Lifecycle components
  56. implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
  57. implementation "androidx.lifecycle:lifecycle-common-java8:2.6.1"
  58. implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"
  59. // Kotlin components
  60. //implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21"
  61. api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1"
  62. api "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1"
  63. //Swipe and refresh
  64. implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.2.0-alpha01"
  65. //XMPP libs
  66. implementation "org.igniterealtime.smack:smack-android:4.4.0"
  67. // Optional for XMPPTCPConnection
  68. implementation "org.igniterealtime.smack:smack-tcp:4.4.0"
  69. // Optional for XMPP-IM (RFC 6121) support (Roster, Threaded Chats, …)
  70. implementation "org.igniterealtime.smack:smack-im:4.4.0"
  71. // Optional for XMPP extensions support
  72. implementation "org.igniterealtime.smack:smack-extensions:4.4.0"
  73. //circular
  74. implementation 'com.github.rahatarmanahmed:circularprogressview:2.5.0'
  75. //Coil for convert url to image
  76. implementation "io.coil-kt:coil:2.4.0"
  77. //Preference
  78. implementation 'androidx.preference:preference:1.2.0'
  79. }
  80. configurations {
  81. all*.exclude group: 'xpp3', module: 'xpp3'
  82. }