build.gradle 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. apply plugin: 'com.android.application'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 28
  6. defaultConfig {
  7. applicationId "com.kdanmobile.testpdflib"
  8. minSdkVersion 15
  9. targetSdkVersion 28
  10. versionCode 1
  11. versionName "1.0"
  12. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  13. }
  14. buildTypes {
  15. release {
  16. minifyEnabled false
  17. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  18. }
  19. }
  20. compileOptions {
  21. sourceCompatibility JavaVersion.VERSION_1_8
  22. targetCompatibility JavaVersion.VERSION_1_8
  23. }
  24. }
  25. dependencies {
  26. implementation fileTree(dir: 'libs', include: ['*.jar'])
  27. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  28. implementation 'com.android.support:appcompat-v7:28.0.0'
  29. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  30. testImplementation 'junit:junit:4.12'
  31. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  32. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  33. implementation project(':reader')
  34. }
  35. repositories {
  36. flatDir {
  37. dirs 'libs', '../reader/libs'
  38. }
  39. }