build.gradle 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdkVersion 33
  7. buildToolsVersion '33.0.0'
  8. defaultConfig {
  9. applicationId "xyz.myachin.downloader"
  10. minSdkVersion 23
  11. targetSdkVersion 33
  12. versionCode 9
  13. versionName "1.9"
  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.5.1'
  37. implementation "androidx.work:work-runtime:2.7.1"
  38. implementation "androidx.core:core-ktx:1.9.0"
  39. implementation 'androidx.appcompat:appcompat:1.5.1'
  40. implementation 'com.google.android.material:material:1.7.0'
  41. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  42. implementation 'androidx.preference:preference-ktx:1.2.0'
  43. }