build.gradle 2.2 KB

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