maven.gradle 803 B

1234567891011121314151617
  1. static def addCommonMaven(RepositoryHandler handler) {
  2. handler.maven { url 'https://gitee.com/liuchaoya/libcommon/raw/master/repository/' }
  3. // 阿里云云效仓库:https://maven.aliyun.com/mvn/guide
  4. handler.maven { url 'https://maven.aliyun.com/repository/public' }
  5. handler.maven { url 'https://maven.aliyun.com/repository/google' }
  6. // 华为开源镜像:https://mirrors.huaweicloud.com
  7. handler.maven { url 'https://repo.huaweicloud.com/repository/maven' }
  8. // JitPack 远程仓库:https://jitpack.io
  9. handler.maven { url 'https://jitpack.io' }
  10. // MavenCentral 远程仓库:https://mvnrepository.com
  11. handler.mavenCentral()
  12. handler.google()
  13. // noinspection JcenterRepositoryObsolete
  14. handler.jcenter()
  15. }
  16. ext.addCommonMaven = this.&addCommonMaven