Skip to content

一个能够自动添加国内 maven 镜像(如:阿里云)的 Gradle 插件。

Notifications You must be signed in to change notification settings

Robothy/cn-repo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CN Repository Plugin

中文

Quickly add maven CN mirror resources to gradle project by this plugin.

plugins {
    id 'com.robothy.cn-repo' version '1.8'
}

This short snippet has the same effect as the below long code block in build.gradle.

repositories{
    maven { url 'https://maven.aliyun.com/repository/public/' }
    maven { url 'https://maven.aliyun.com/repository/jcenter/' }
    maven { url 'https://maven.aliyun.com/repository/google/' }
    maven { url 'https://maven.aliyun.com/repository/gradle-plugin/' }
}

About

一个能够自动添加国内 maven 镜像(如:阿里云)的 Gradle 插件。

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages