Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

81 рядки
2.4 KiB

  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 26
  4. buildToolsVersion '26.0.2'
  5. defaultConfig {
  6. applicationId "com.neusoft.possale"
  7. minSdkVersion 21
  8. targetSdkVersion 23
  9. versionCode 7
  10. versionName "20201123163124"
  11. // jackOptions.enabled = true
  12. javaCompileOptions {
  13. annotationProcessorOptions {
  14. includeCompileClasspath = true
  15. }
  16. }
  17. }
  18. // compileOptions{
  19. // sourceCompatibility org.gradle.api.JavaVersion.VERSION_1_8
  20. // targetCompatibility org.gradle.api.JavaVersion.VERSION_1_8
  21. // }
  22. packagingOptions {
  23. exclude 'META-INF/rxjava.properties'
  24. // ... and any other excludes go here
  25. }
  26. buildTypes {
  27. release {
  28. minifyEnabled false
  29. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  30. }
  31. // debug {
  32. // applicationIdSuffix "debug"
  33. // }
  34. }
  35. sourceSets { main { assets.srcDirs = ['src/main/assets', 'src/main/assets/'] } }
  36. sourceSets {
  37. main {
  38. aidl.srcDirs = ['src/main/aidl/']
  39. java.srcDirs = ['src/main/java', 'src/main/aidl']
  40. resources.srcDirs = ['src/main/java', 'src/main/aidl']
  41. }
  42. }
  43. sourceSets {
  44. main {
  45. jniLibs.srcDirs = ['libs']
  46. }
  47. }
  48. }
  49. dependencies {
  50. compile fileTree(include: ['*.jar'], dir: 'libs')
  51. testCompile 'junit:junit:4.12'
  52. compile 'com.android.support:design:23.4.0'
  53. //rxlifecycle
  54. compile 'com.trello:rxlifecycle-components:1.0'
  55. //rx
  56. compile 'io.reactivex:rxandroid:1.2.1'
  57. compile 'io.reactivex:rxjava:1.3.0'
  58. //net
  59. compile 'com.squareup.retrofit2:retrofit:2.4.0'
  60. compile 'com.squareup.retrofit2:adapter-rxjava:2.4.0'
  61. compile 'com.squareup.retrofit2:converter-gson:2.4.0'
  62. compile 'com.squareup.okhttp3:logging-interceptor:3.10.0'
  63. compile 'com.google.code.gson:gson:2.7'
  64. compile 'com.github.bumptech.glide:glide:3.7.0'
  65. compile project(path: ':cardreader')
  66. compile project(path: ':barcodescaner')
  67. compile files('libs/butterknife-7.0.1.jar')
  68. compile project(path: ':lib')
  69. compile 'com.ttsea.jrxbus2:jrxbus2:1.0.3'
  70. compile project(path: ':extendMediaPlay')
  71. provided files('libs_ext/androidsim.jar')
  72. implementation 'com.codezjx.library:andlinker:0.7.1'
  73. }