build.gradle 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. repositories {
  4. google()
  5. jcenter()
  6. maven { url 'https://dl.bintray.com/umsdk/release' }//友盟
  7. }
  8. dependencies {
  9. classpath 'com.android.tools.build:gradle:3.3.2'
  10. classpath "com.alibaba:arouter-register:1.0.2"
  11. classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
  12. // NOTE: Do not place your application dependencies here; they belong
  13. // in the individual module build.gradle files
  14. }
  15. }
  16. subprojects {
  17. repositories {
  18. google()
  19. jcenter()
  20. mavenLocal()
  21. }
  22. version = '3.6.0'
  23. group = 'com.journeyapps'
  24. }
  25. allprojects {
  26. repositories {
  27. google()
  28. jcenter()
  29. maven { url 'https://jitpack.io' }
  30. maven { url 'https://dl.bintray.com/umsdk/release' }//友盟
  31. }
  32. }
  33. repositories {
  34. google()
  35. }
  36. task clean(type: Delete) {
  37. delete rootProject.buildDir
  38. }
  39. ext {
  40. projectName = "\"优百递\""
  41. configuration = [
  42. applicationId : "com.fengzhan100.fz",
  43. buildToolsVersion : "28.0.0",
  44. compileSdkVersion : 28,
  45. minSdkVersion : 24,
  46. targetSdkVersion : 28,
  47. versionCode : 1600,
  48. //versionName : "1.1.31 test",
  49. versionName : "1.6.00",
  50. zxingCore : "com.google.zxing:core:3.3.2",
  51. //test_mobile_url : "\"http://app.fengzhan100.com/\"",//fengzhan正式 外网
  52. //release_mobile_url : "\"http://app.fengzhan100.com/\"",
  53. //release_mobile_url: "\"http://test.fengzhan100.com/\"",//测试环境
  54. //test_mobile_url : "\"http://test.fengzhan100.com/\"",//
  55. // test_mobile_url : "\"http://192.168.1.197:8885/\"",//本地
  56. // release_mobile_url: "\"http://192.168.1.197:8885/\"",
  57. test_img_url : "\"http://49.4.12.78:8822/\"",
  58. release_img_url : "\"http://49.4.12.78:8822/\"",
  59. // 优百递微信支付
  60. wx_appid : "\"wxae0fc4df352e2d6c\""
  61. ]
  62. libraries = [
  63. supportVersion: "28.0.0"
  64. ]
  65. }