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 24
  15. targetSdkVersion 26
  16. versionCode 2
  17. versionName "1.17.40964"
  18. ndk.abiFilters 'armeabi-v7a',"arm64-v8a"
  19. // testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled true
  24. zipAlignEnabled true
  25. shrinkResources true
  26. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
  27. debuggable false
  28. }
  29. debug {
  30. }
  31. }
  32. gradle.projectsEvaluated {
  33. tasks.withType(JavaCompile) {
  34. // options.compilerArgs << "-Xlint:deprecation"
  35. // options.compilerArgs << "--stacktrace"
  36. // options.compilerArgs << "--info"
  37. // options.compilerArgs << "--debug"
  38. // options.compilerArgs << "--scan"
  39. options.compilerArgs << "-Xlint:unchecked"
  40. }
  41. }
  42. }
  43. dependencies {
  44. implementation fileTree(include: ['*.jar'], dir: 'libs')
  45. api 'com.android.support:appcompat-v7:26.0.0'
  46. api 'com.android.support.constraint:constraint-layout:1.1.3'
  47. // testImplementation 'junit:junit:4.12'
  48. // androidTestImplementation 'com.android.support.test:runner:1.0.2'
  49. // androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  50. implementation project(path: ':RAUtilsLibrary')
  51. implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
  52. }