build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.compdfkit.pdfviewer'
  6. compileSdk 33
  7. defaultConfig {
  8. applicationId "com.compdfkit.pdfviewer"
  9. minSdk 21
  10. targetSdk 33
  11. versionCode 1
  12. versionName "1.0"
  13. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  14. }
  15. buildTypes {
  16. release {
  17. minifyEnabled false
  18. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  19. }
  20. }
  21. compileOptions {
  22. sourceCompatibility JavaVersion.VERSION_1_8
  23. targetCompatibility JavaVersion.VERSION_1_8
  24. }
  25. buildFeatures {
  26. viewBinding true
  27. }
  28. }
  29. dependencies {
  30. implementation(fileTree('libs'))
  31. implementation 'com.github.bumptech.glide:glide:4.12.0'
  32. annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
  33. implementation 'androidx.appcompat:appcompat:1.5.1'
  34. implementation 'com.google.android.material:material:1.7.0'
  35. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  36. testImplementation 'junit:junit:4.13.2'
  37. androidTestImplementation 'androidx.test.ext:junit:1.1.4'
  38. androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
  39. }