Skip to content

Instantly share code, notes, and snippets.

@beilly
Created September 17, 2018 08:37
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beilly/f9f5345ec4058ffe915b9224ca96441b to your computer and use it in GitHub Desktop.
Save beilly/f9f5345ec4058ffe915b9224ca96441b to your computer and use it in GitHub Desktop.
gradle使用阿里云的镜像服务器,包含jitpack、私服配置
allprojects{
repositories {
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
maven{ url 'https://maven.aliyun.com/repository/google'}
maven { url "https://jitpack.io" }
maven { url 'http://172.17.16.112:8081/nexus/content/repositories/releases/' }
}
buildscript {
repositories {
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
maven{ url 'https://maven.aliyun.com/repository/google'}
maven { url "https://jitpack.io" }
maven { url 'http://172.17.16.112:8081/nexus/content/repositories/releases/' }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment