build.gradle 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. plugins {
  2. id 'com.android.library'
  3. id 'org.jetbrains.kotlin.android'
  4. }
  5. android {
  6. compileSdk rootProject.ext.compileSdkVersion
  7. buildToolsVersion rootProject.ext.buildToolsVersion
  8. defaultConfig {
  9. minSdkVersion rootProject.ext.minSdkVersion
  10. targetSdkVersion rootProject.ext.targetSdkVersion
  11. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  12. consumerProguardFiles "consumer-rules.pro"
  13. }
  14. compileOptions {
  15. sourceCompatibility JavaVersion.VERSION_1_8
  16. targetCompatibility JavaVersion.VERSION_1_8
  17. }
  18. buildTypes {
  19. release {
  20. minifyEnabled false
  21. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  22. }
  23. }
  24. kotlinOptions {
  25. jvmTarget = '1.8'
  26. }
  27. }
  28. dependencies {
  29. api fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
  30. implementation project(':lib_common')
  31. api 'androidx.documentfile:documentfile:1.0.1'
  32. api 'com.compdf:compdfkit:1.9.1'
  33. api 'com.compdf:compdfkit-ui:1.9.1'
  34. // api 'com.compdf:compdfkit-tools:1.9.1'
  35. }