build.gradle 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.compdfkit.demo.viewer'
  6. compileSdk rootProject.ext.android.COMPILESDK
  7. resourcePrefix 'viewer_'
  8. defaultConfig {
  9. applicationId "com.compdfkit.demo.viewer"
  10. minSdk rootProject.ext.android.MINSDK
  11. targetSdk rootProject.ext.android.TARGETSDK
  12. versionCode rootProject.ext.android.VERSIONCODE as int
  13. versionName rootProject.ext.sdk.COMPDFKit_SDK_VERSION
  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 'androidx.appcompat:appcompat:1.6.1'
  31. implementation 'com.google.android.material:material:1.8.0'
  32. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  33. implementation project(':compdfkit-tools')
  34. }