build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 29
  4. buildToolsVersion "29.0.2"
  5. defaultConfig {
  6. minSdkVersion 24
  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. compileOptions {
  20. sourceCompatibility JavaVersion.VERSION_1_8
  21. targetCompatibility JavaVersion.VERSION_1_8
  22. }
  23. }
  24. dependencies {
  25. implementation fileTree(dir: 'libs', include: ['*.jar'])
  26. implementation 'androidx.appcompat:appcompat:1.2.0'
  27. implementation "androidx.recyclerview:recyclerview:1.1.0"
  28. implementation 'androidx.documentfile:documentfile:1.0.1'
  29. implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
  30. testImplementation 'junit:junit:4.12'
  31. androidTestImplementation 'androidx.test.ext:junit:1.1.2'
  32. androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  33. }