build.gradle 651 B

123456789101112131415161718192021222324252627282930313233
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. defaultConfig {
  7. applicationId "com.demo.xinrui"
  8. minSdkVersion 16
  9. targetSdkVersion 30
  10. versionCode 1
  11. versionName "1.0"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. }
  24. dependencies {
  25. implementation 'com.android.support:appcompat-v7:28.0.0'
  26. }