build.gradle 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. android {
  5. compileSdkVersion 28
  6. defaultConfig {
  7. minSdkVersion 15
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled false
  16. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. }
  20. ext {
  21. daggerVersion = 2.12
  22. lifecycleVersion = "1.1.0"
  23. }
  24. dependencies {
  25. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  26. implementation 'com.android.support:appcompat-v7:28.0.0'
  27. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  28. implementation "android.arch.lifecycle:extensions:$lifecycleVersion"
  29. implementation "android.arch.lifecycle:common-java8:$lifecycleVersion"
  30. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  31. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  32. testImplementation 'junit:junit:4.12'
  33. api(name: 'kmpdfkit-1.0.7', ext: 'aar')
  34. }