Skip to content

Instantly share code, notes, and snippets.

@holmeszyx
Last active August 9, 2018 07:10
Show Gist options
  • Save holmeszyx/2a2e68902056991bd2cb665aefd477fa to your computer and use it in GitHub Desktop.
Save holmeszyx/2a2e68902056991bd2cb665aefd477fa to your computer and use it in GitHub Desktop.
Maven mirro

###aliyun

        maven { url 'https://maven.aliyun.com/repository/public' }

完整

buildscript {
    repositories {
        google()
        maven { url 'https://maven.aliyun.com/repository/public' }
        jcenter()
        maven { url 'https://jitpack.io' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        google()
        maven { url 'https://maven.aliyun.com/repository/public' }
        jcenter()
        maven { url 'https://jitpack.io' }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment