build.gradle 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 201
  10. versionName "1.3.4"
  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/wallet',
  56. 'src/main/res/layouts/pay',
  57. 'src/main/res/layouts/practice'
  58. ]
  59. }
  60. }
  61. }
  62. dependencies {
  63. implementation fileTree(include: ['*.jar'], dir: 'libs')
  64. testImplementation 'junit:junit:4.12'
  65. implementation 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:5.1.6'
  66. implementation 'com.umeng.umsdk:analytics:8.0.0'
  67. implementation(name: 'alipaySdk-15.6.2-20190416165100-noUtdid', ext: 'aar')
  68. implementation(name: 'AlivcPlayer-3.4.10', ext: 'aar')
  69. implementation(name: 'AlivcReporter-1.2', ext: 'aar')
  70. //implementation(name: 'AliyunVodPlayer-3.4.10', ext: 'aar')
  71. implementation 'com.aliyun.dpa:oss-android-sdk:2.5.0'
  72. implementation 'com.cleveroad:fan-layout-manager:1.0.5'
  73. implementation project(':base')
  74. implementation project(':uikit')
  75. implementation project(':push')
  76. implementation project(':share')
  77. implementation project(':update')
  78. implementation project(':sms')
  79. }