android_base.gradle 577 B

123456789101112131415161718192021222324
  1. def sdkInt = Integer.parseInt("$sdkInt")
  2. android {
  3. compileSdk sdkInt
  4. defaultConfig {
  5. minSdk sdkInt
  6. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  7. consumerProguardFiles "consumer-rules.pro"
  8. }
  9. buildTypes {
  10. release {
  11. minifyEnabled false
  12. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  13. }
  14. }
  15. compileOptions {
  16. sourceCompatibility JavaVersion.VERSION_17
  17. targetCompatibility JavaVersion.VERSION_17
  18. }
  19. }