build.gradle 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // Top-level build file where you can add configuration options common to all sub-projects/modules.
  2. buildscript {
  3. ext {
  4. compile_version = 28
  5. min_version = 19
  6. target_version = 26
  7. support_version = '28.0.0'
  8. }
  9. repositories {
  10. jcenter()
  11. google()
  12. // maven { url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases' }
  13. // maven { url 'https://maven.google.com/'}
  14. maven { url 'https://jitpack.io' }
  15. maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
  16. maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
  17. }
  18. dependencies {
  19. classpath 'com.android.tools.build:gradle:3.1.2'
  20. // classpath 'com.google.gms:google-services:4.2.0'
  21. }
  22. }
  23. allprojects {
  24. repositories {
  25. jcenter()
  26. google()
  27. // maven { url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases' }
  28. // maven {
  29. // url 'https://oss.sonatype.org/content/repositories/snapshots'
  30. // }
  31. mavenCentral()
  32. maven { url 'http://developer.huawei.com/repo/' }
  33. // 图片编辑库cc.aoeiuv020:imaging所在仓库, 同步到jcenter审核通过前需要这个仓库,
  34. // maven { url 'https://dl.bintray.com/aoeiuv020/maven' }
  35. maven { url 'https://jitpack.io' }
  36. // maven { url 'https://maven.google.com/'}
  37. maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
  38. maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
  39. // 支付宝 SDK AAR 包所需的配置
  40. flatDir {
  41. dirs 'libs'
  42. }
  43. }
  44. }