build.gradle 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. apply plugin: 'com.android.application'
  2. android {
  3. compileSdkVersion 28
  4. buildToolsVersion '28.0.3'
  5. defaultConfig {
  6. applicationId "com.xsbanruo.app"
  7. minSdkVersion 16
  8. targetSdkVersion 28
  9. versionCode 118
  10. versionName "2.0.3"
  11. multiDexEnabled true
  12. }
  13. signingConfigs {
  14. release {
  15. storeFile file('/Users/shanpin_lxw/Desktop/Leexw/shanpin/shanp_app/xsbanruo.jks')
  16. storePassword 'xsbanruo_20170329'
  17. keyAlias 'xsbanruo'
  18. keyPassword 'xsbanruo_20170329'
  19. }
  20. }
  21. buildTypes {
  22. release {
  23. minifyEnabled true
  24. zipAlignEnabled true
  25. shrinkResources true
  26. signingConfig signingConfigs.release
  27. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  28. buildConfigField("String", "APP_SERVER", "\"http://logic.xsbanruo.com/bore\"")
  29. buildConfigField("String", "WEB_SERVER", "\"http://www.xsbanruo.com/borew\"")
  30. buildConfigField("String", "FILE_SERVER", "\"http://www.xsbanruo.com/borew/file\"")
  31. buildConfigField("String", "CENTER_SERVER", "\"http://service.xsbanruo.com\"")
  32. }
  33. debug {
  34. minifyEnabled false
  35. signingConfig signingConfigs.release
  36. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  37. buildConfigField("String", "APP_SERVER", "\"http://120.79.211.173:7100/bore\"")
  38. buildConfigField("String", "WEB_SERVER", "\"http://120.79.211.173:7101/borew\"")
  39. buildConfigField("String", "FILE_SERVER", "\"http://120.79.211.173:7101/borew/file\"")
  40. buildConfigField("String", "CENTER_SERVER", "\"http://120.79.211.173:7000\"")
  41. }
  42. }
  43. sourceSets {
  44. main {
  45. jniLibs.srcDirs = ['libs']
  46. res.srcDirs = [
  47. 'src/main/res',
  48. 'src/main/res/layouts',
  49. 'src/main/res/layouts/app',
  50. 'src/main/res/layouts/common',
  51. 'src/main/res/layouts/content',
  52. 'src/main/res/layouts/follow',
  53. 'src/main/res/layouts/user',
  54. 'src/main/res/layouts/question',
  55. 'src/main/res/layouts/sound',
  56. 'src/main/res/layouts/wallet',
  57. 'src/main/res/layouts/pay',
  58. 'src/main/res/layouts/practice'
  59. ]
  60. }
  61. }
  62. compileOptions {
  63. targetCompatibility JavaVersion.VERSION_1_8
  64. }
  65. packagingOptions {
  66. exclude 'META-INF/proguard/androidx-annotations.pro'
  67. }
  68. }
  69. dependencies {
  70. implementation fileTree(include: ['*.jar'], dir: 'libs')
  71. testImplementation 'junit:junit:4.12'
  72. implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.6'
  73. implementation 'com.umeng.umsdk:analytics:8.0.0'
  74. implementation(name: 'alipaySdk-15.6.2-20190416165100-noUtdid', ext: 'aar')
  75. implementation(name: 'AlivcPlayer-3.4.10', ext: 'aar')
  76. implementation(name: 'AlivcReporter-1.2', ext: 'aar')
  77. implementation 'com.aliyun.dpa:oss-android-sdk:2.5.0'
  78. implementation 'com.cleveroad:fan-layout-manager:1.0.5'
  79. implementation 'com.google.android.exoplayer:exoplayer-core:2.10.3'
  80. implementation project(':base')
  81. implementation project(':uikit')
  82. implementation project(':push')
  83. implementation project(':share')
  84. implementation project(':update')
  85. implementation project(':sms')
  86. }