build.gradle 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. group 'com.compdfkit.flutter.compdfkit_flutter'
  2. version '1.0'
  3. buildscript {
  4. repositories {
  5. google()
  6. mavenCentral()
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:7.3.0'
  10. }
  11. }
  12. rootProject.allprojects {
  13. repositories {
  14. google()
  15. mavenCentral()
  16. maven {
  17. url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
  18. }
  19. }
  20. }
  21. apply plugin: 'com.android.library'
  22. android {
  23. compileSdkVersion 33
  24. compileOptions {
  25. sourceCompatibility JavaVersion.VERSION_1_8
  26. targetCompatibility JavaVersion.VERSION_1_8
  27. }
  28. defaultConfig {
  29. minSdkVersion 21
  30. }
  31. buildFeatures {
  32. viewBinding = true
  33. }
  34. dependencies {
  35. compileOnly fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
  36. implementation 'com.google.android.material:material:1.8.0'
  37. implementation 'androidx.appcompat:appcompat:1.6.1'
  38. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  39. testImplementation 'junit:junit:4.13.2'
  40. testImplementation 'org.mockito:mockito-core:5.0.0'
  41. api 'com.github.bumptech.glide:glide:4.15.1'
  42. annotationProcessor 'com.github.bumptech.glide:compiler:4.15.1'
  43. api 'androidx.documentfile:documentfile:1.0.1'
  44. }
  45. testOptions {
  46. unitTests.all {
  47. testLogging {
  48. events "passed", "skipped", "failed", "standardOut", "standardError"
  49. outputs.upToDateWhen {false}
  50. showStandardStreams = true
  51. }
  52. }
  53. }
  54. }