下载kotlin compiler embeddable jar

2021-02-07  本文已影响0人  neal秦
记录下载kotlin compiler embeddable jar资源过慢问题
def REPOSITORY_URL =
                'http://maven.aliyun.com/nexus/content/groups/public/'
        all { ArtifactRepository repo ->
            if (repo instanceof MavenArtifactRepository) {
                def url = repo.url.toString()
                if (url.startsWith('https://repo1.maven.org/maven2') ||
                        url.startsWith('https://jcenter.bintray.com/')) {
                    remove repo
                }
            }
        }
        maven {
            url REPOSITORY_URL
}
上一篇 下一篇

猜你喜欢

热点阅读