build.gradle 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. implementation 'com.android.support:recyclerview-v7:28.0.0'
  31. testImplementation 'junit:junit:4.12'
  32. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  33. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  34. implementation project(':PDFReaderReaderModule')
  35. }
  36. repositories {
  37. flatDir {
  38. dirs 'libs', '../PDFReaderReaderModule/libs'
  39. }
  40. }