build.gradle 929 B

123456789101112131415161718192021222324252627282930313233
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 30
  4. buildToolsVersion "30.0.2"
  5. defaultConfig {
  6. applicationId "com.example.mytest"
  7. minSdkVersion 21
  8. targetSdkVersion 30
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. dependencies {
  21. implementation fileTree(dir: "libs", include: ["*.jar"])
  22. implementation 'androidx.appcompat:appcompat:1.2.0'
  23. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  24. testImplementation 'junit:junit:4.12'
  25. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  26. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  27. }