build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. compileSdk 33
  7. namespace 'com.dtsmonitor.app'
  8. defaultConfig {
  9. applicationId "com.dtsmonitor.app"
  10. minSdk 24
  11. targetSdk 33
  12. versionCode 1
  13. versionName "1.0"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_11
  23. targetCompatibility JavaVersion.VERSION_11
  24. }
  25. kotlinOptions {
  26. jvmTarget = '11'
  27. }
  28. buildFeatures {
  29. viewBinding true
  30. }
  31. }
  32. dependencies {
  33. implementation 'androidx.core:core-ktx:1.10.1'
  34. implementation 'androidx.appcompat:appcompat:1.6.1'
  35. implementation 'com.google.android.material:material:1.9.0'
  36. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  37. implementation 'androidx.fragment:fragment-ktx:1.6.1'
  38. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
  39. implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.6.1'
  40. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  41. implementation 'androidx.recyclerview:recyclerview:1.3.1'
  42. // OkHttp + Gson
  43. implementation 'com.squareup.okhttp3:okhttp:4.11.0'
  44. implementation 'com.google.code.gson:gson:2.10.1'
  45. // MPAndroidChart
  46. implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
  47. // Coroutines
  48. implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
  49. }