build.gradle 970 B

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. id 'com.android.library'
  3. }
  4. android {
  5. compileSdkVersion 29
  6. defaultConfig {
  7. minSdkVersion 16
  8. targetSdkVersion 29
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "androidx.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 'androidx.appcompat:appcompat:1.2.0'
  27. implementation 'com.google.android.material:material:1.2.1'
  28. testImplementation 'junit:junit:4.+'
  29. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  30. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  31. }