Last active
June 11, 2021 06:38
-
-
Save gcdd1993/8625cfef3446d866d7b913658d09bd28 to your computer and use it in GitHub Desktop.
[Gradle配置,国内镜像加速] #Gradle|-|{"files":{"settings.gradle":{"env":"plain"}},"tag":"Uncategorized"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pluginManagement { | |
repositories { | |
mavenLocal() | |
repositories { | |
maven { url 'https://maven.aliyun.com/repository/google' } | |
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } | |
maven { url 'https://maven.aliyun.com/repository/public/' } | |
} | |
mavenCentral() | |
gradlePluginPortal() | |
} | |
} | |
dependencyResolutionManagement { | |
repositories { | |
mavenLocal() | |
maven { url = uri("https://maven.aliyun.com/repository/central") } // central | |
maven { url = uri("https://maven.aliyun.com/repository/public") } // jcenter & public | |
maven { url = uri("https://maven.aliyun.com/repository/google") } // google | |
maven { url = uri("https://maven.aliyun.com/repository/spring") } // spring | |
maven { url = uri("https://maven.aliyun.com/repository/spring-plugin") } // spring plugin | |
maven { url = uri("https://maven.aliyun.com/repository/grails-core") } // spring plugin | |
} | |
} | |
rootProject.name = "xxx" | |
include("xxx") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment