build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. mavenCentral()
  12. google()
  13. // maven { url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases' }
  14. // maven { url 'https://maven.google.com/'}
  15. maven { url 'https://jitpack.io' }
  16. maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
  17. maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
  18. }
  19. dependencies {
  20. classpath 'com.android.tools.build:gradle:3.1.2'
  21. // classpath 'com.google.gms:google-services:4.2.0'
  22. }
  23. }
  24. allprojects {
  25. repositories {
  26. jcenter()
  27. google()
  28. // maven { url 'https://github.com/jitsi/jitsi-maven-repository/raw/master/releases' }
  29. // maven {
  30. // url 'https://oss.sonatype.org/content/repositories/snapshots'
  31. // }
  32. mavenCentral()
  33. maven { url 'http://developer.huawei.com/repo/' }
  34. // 图片编辑库cc.aoeiuv020:imaging所在仓库, 同步到jcenter审核通过前需要这个仓库,
  35. // maven { url 'https://dl.bintray.com/aoeiuv020/maven' }
  36. maven { url 'https://jitpack.io' }
  37. // maven { url 'https://maven.google.com/'}
  38. maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
  39. maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
  40. // 支付宝 SDK AAR 包所需的配置
  41. flatDir {
  42. dirs 'libs'
  43. }
  44. }
  45. }