Skip to content

Instantly share code, notes, and snippets.

@beilly beilly/init.gradle
Created Sep 17, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.