build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 29
  6. buildToolsVersion "29.0.3"
  7. defaultConfig {
  8. applicationId "ru.loparev.rmp"
  9. minSdkVersion 16
  10. targetSdkVersion 29
  11. versionCode 1
  12. versionName "1.0"
  13. multiDexEnabled true
  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. }
  23. dependencies {
  24. implementation fileTree(dir: "libs", include: ["*.jar"])
  25. implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
  26. implementation 'androidx.core:core-ktx:1.1.0'
  27. implementation 'androidx.appcompat:appcompat:1.1.0'
  28. implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
  29. implementation 'com.appunity.retrofit2:converter-gson:2.0.2'
  30. implementation 'com.google.android.material:material:1.1.0'
  31. implementation 'com.google.android.gms:play-services:12.0.1'
  32. implementation 'com.android.support:multidex:1.0.3'
  33. testImplementation 'junit:junit:4.12'
  34. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  35. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  36. }