build.gradle 965 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 = 21
  6. target_version = 26
  7. }
  8. repositories {
  9. google()
  10. jcenter()
  11. google()
  12. }
  13. dependencies {
  14. classpath 'com.android.tools.build:gradle:3.5.3'
  15. // classpath 'com.google.gms:google-services:4.2.0'
  16. }
  17. }
  18. allprojects {
  19. repositories {
  20. maven {
  21. url rootProject.file('repository')
  22. }
  23. google()
  24. jcenter()
  25. maven {
  26. url 'https://oss.sonatype.org/content/repositories/snapshots'
  27. }
  28. maven { url 'http://developer.huawei.com/repo/' }
  29. // 图片编辑库cc.aoeiuv020:imaging所在仓库, 同步到jcenter审核通过前需要这个仓库,
  30. maven { url 'https://dl.bintray.com/aoeiuv020/maven' }
  31. maven { url 'https://jitpack.io' }
  32. }
  33. }