build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. apply plugin: 'com.android.application'
  2. android {
  3. splits {
  4. abi {
  5. enable true
  6. reset()
  7. include 'armeabi-v7a'
  8. universalApk true
  9. }
  10. }
  11. compileSdkVersion 26
  12. defaultConfig {
  13. applicationId "com.usai.apex.apexcrm"
  14. minSdkVersion 23
  15. targetSdkVersion 26
  16. versionCode 1
  17. versionName "1.11.39847"
  18. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  19. }
  20. buildTypes {
  21. release {
  22. minifyEnabled true
  23. zipAlignEnabled true
  24. shrinkResources true
  25. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
  26. debuggable false
  27. }
  28. debug {
  29. }
  30. }
  31. gradle.projectsEvaluated {
  32. tasks.withType(JavaCompile) {
  33. // options.compilerArgs << "-Xlint:deprecation"
  34. // options.compilerArgs << "--stacktrace"
  35. // options.compilerArgs << "--info"
  36. // options.compilerArgs << "--debug"
  37. // options.compilerArgs << "--scan"
  38. options.compilerArgs << "-Xlint:unchecked"
  39. }
  40. }
  41. }
  42. dependencies {
  43. implementation fileTree(include: ['*.jar'], dir: 'libs')
  44. implementation 'com.android.support:appcompat-v7:26.1.0'
  45. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  46. testImplementation 'junit:junit:4.12'
  47. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  48. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  49. implementation project(path: ':RAUtilsLibrary')
  50. implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
  51. }