build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. plugins {
  2. id 'com.android.application'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. namespace 'com.example.proekt'
  7. compileSdk 33
  8. defaultConfig {
  9. applicationId "com.example.proekt"
  10. minSdk 24
  11. targetSdk 33
  12. versionCode 1
  13. versionName "1.0"
  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. compileOptions {
  23. sourceCompatibility JavaVersion.VERSION_1_8
  24. targetCompatibility JavaVersion.VERSION_1_8
  25. }
  26. kotlinOptions {
  27. jvmTarget = '1.8'
  28. }
  29. }
  30. dependencies {
  31. implementation 'androidx.core:core-ktx:1.8.0'
  32. implementation 'androidx.appcompat:appcompat:1.4.1'
  33. implementation 'com.google.android.material:material:1.5.0'
  34. implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
  35. testImplementation 'junit:junit:4.13.2'
  36. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  37. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  38. }