build.gradle 1.5 KB

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