build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 30
  6. buildToolsVersion "30.0.2"
  7. defaultConfig {
  8. applicationId "com.example.proekt2"
  9. minSdkVersion 15
  10. targetSdkVersion 30
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. }
  22. dependencies {
  23. implementation fileTree(dir: 'libs', include: ['*.jar'])
  24. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  25. implementation 'androidx.appcompat:appcompat:1.2.0'
  26. implementation 'androidx.core:core-ktx:1.3.1'
  27. implementation 'androidx.constraintlayout:constraintlayout:2.0.0'
  28. testImplementation 'junit:junit:4.12'
  29. androidTestImplementation 'androidx.test.ext:junit:1.1.1'
  30. androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
  31. implementation 'com.appunity.retrofit2:converter-gson:2.0.2'
  32. }