0
点赞
收藏
分享

微信扫一扫

Gradle仓库国内镜像

路西法阁下 2021-09-25 阅读 53
buildscript {

repositories {

//        jcenter()

//        google()

        maven { url'http://maven.aliyun.com/nexus/content/repositories/google' }

maven { url'http://maven.aliyun.com/nexus/content/groups/public/' }

maven { url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}

}

dependencies {

classpath'com.android.tools.build:gradle:3.4.0'

        // NOTE: Do not place your application dependencies here; they belong

// in the individual module build.gradle files

    }

}

allprojects {

repositories {

//        jcenter()

//        google()

        maven { url'http://maven.aliyun.com/nexus/content/repositories/google' }

maven { url'http://maven.aliyun.com/nexus/content/groups/public/' }

maven { url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}

}

}
举报

相关推荐

0 条评论