build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. buildscript {
  2. repositories {
  3. maven {
  4. url 'https://maven.google.com'
  5. }
  6. jcenter()
  7. maven { url 'https://maven.fabric.io/public' }
  8. }
  9. //
  10. }
  11. plugins {
  12. id 'com.android.application'
  13. }
  14. android {
  15. namespace 'com.example.eczproject'
  16. compileSdk 32
  17. defaultConfig {
  18. applicationId "com.example.eczproject"
  19. minSdk 21
  20. targetSdk 32
  21. versionCode 1
  22. versionName "1.0"
  23. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  24. }
  25. buildTypes {
  26. release {
  27. minifyEnabled false
  28. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  29. }
  30. }
  31. compileOptions {
  32. sourceCompatibility JavaVersion.VERSION_1_8
  33. targetCompatibility JavaVersion.VERSION_1_8
  34. }
  35. }
  36. dependencies {
  37. implementation 'androidx.appcompat:appcompat:1.6.0'
  38. implementation 'com.google.android.material:material:1.8.0'
  39. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  40. testImplementation 'junit:junit:4.13.2'
  41. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  42. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  43. }