build.gradle 898 B

123456789101112131415161718192021222324252627282930313233
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. minSdkVersion 28
  7. targetSdkVersion 29
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  11. consumerProguardFiles 'consumer-rules.pro'
  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. testImplementation 'junit:junit:4.12'
  24. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  25. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  26. }