build.gradle 937 B

123456789101112131415161718192021222324252627282930313233343536
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 30
  6. defaultConfig {
  7. minSdkVersion 21
  8. targetSdkVersion 30
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation 'com.android.support:appcompat-v7:28.0.0'
  27. testImplementation 'junit:junit:4.+'
  28. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  29. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  30. }