build.gradle 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. plugins {
  2. id 'com.android.application'
  3. }
  4. android {
  5. namespace 'com.compdfkit.demo'
  6. compileSdk rootProject.ext.android.COMPILESDK
  7. defaultConfig {
  8. applicationId "com.compdfkit.demo"
  9. minSdk rootProject.ext.android.MINSDK
  10. targetSdk rootProject.ext.android.TARGETSDK
  11. versionCode rootProject.ext.android.VERSIONCODE
  12. versionName rootProject.ext.sdk.CONVERSION_SDK_VERSION
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. buildFeatures {
  25. viewBinding = true
  26. }
  27. }
  28. dependencies {
  29. implementation 'androidx.appcompat:appcompat:1.6.1'
  30. implementation 'com.google.android.material:material:1.8.0'
  31. implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
  32. implementation project(':compdfkit-tools')
  33. }