build.gradle 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. plugins {
  2. id 'com.android.application'
  3. id 'kotlin-android'
  4. }
  5. android {
  6. compileSdkVersion 30
  7. buildToolsVersion "30.0.3"
  8. defaultConfig {
  9. applicationId "xyz.myachin.saveto"
  10. minSdkVersion 23
  11. targetSdkVersion 30
  12. versionCode 13
  13. versionName "1.13"
  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 = '1.8'
  32. }
  33. }
  34. dependencies {
  35. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  36. implementation 'androidx.core:core-ktx:1.5.0'
  37. implementation 'androidx.appcompat:appcompat:1.3.0'
  38. implementation 'com.google.android.material:material:1.3.0'
  39. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  40. implementation 'androidx.preference:preference-ktx:1.1.1'
  41. }