build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdk 34
  7. buildToolsVersion = '34.0.0'
  8. defaultConfig {
  9. applicationId "xyz.myachin.downloader"
  10. minSdkVersion 23
  11. targetSdkVersion 34
  12. versionCode 11
  13. versionName "1.11"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled true
  18. shrinkResources true
  19. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  20. }
  21. debug {
  22. minifyEnabled false
  23. shrinkResources false
  24. }
  25. }
  26. compileOptions {
  27. sourceCompatibility JavaVersion.VERSION_1_8
  28. targetCompatibility JavaVersion.VERSION_1_8
  29. }
  30. kotlinOptions {
  31. jvmTarget = JavaVersion.VERSION_1_8.toString()
  32. }
  33. namespace 'xyz.myachin.downloader'
  34. }
  35. dependencies {
  36. implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0'
  37. implementation 'androidx.work:work-runtime:2.9.0'
  38. implementation 'androidx.core:core-ktx:1.12.0'
  39. implementation 'androidx.appcompat:appcompat:1.6.1'
  40. implementation 'com.google.android.material:material:1.11.0'
  41. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  42. implementation 'androidx.preference:preference-ktx:1.2.1'
  43. }