build.gradle 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdk 36
  4. defaultConfig {
  5. minSdkVersion 28
  6. targetSdkVersion 36
  7. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  8. consumerProguardFiles "consumer-rules.pro"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. namespace 'com.redant.usai.rapdflib'
  17. compileOptions {
  18. sourceCompatibility JavaVersion.VERSION_11
  19. targetCompatibility JavaVersion.VERSION_11
  20. }
  21. gradle.projectsEvaluated {
  22. tasks.withType(JavaCompile) {
  23. // options.compilerArgs << "-Xlint:deprecation"
  24. // options.compilerArgs << "-Xlint:unchecked"
  25. }
  26. }
  27. }
  28. dependencies {
  29. implementation fileTree(dir: "libs", include: ["*.jar"])
  30. implementation 'androidx.appcompat:appcompat:1.6.1'
  31. implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
  32. testImplementation 'junit:junit:4.13.2'
  33. androidTestImplementation 'androidx.test.ext:junit:1.1.5'
  34. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
  35. // implementation 'com.github.barteksc:android-pdf-viewer:3.2.0-beta.1'
  36. implementation 'com.github.mhiew:android-pdf-viewer:3.2.0-beta.3'
  37. api project(path: ':RAUtilsLibrary')
  38. }