赞
踩
以gradle 8.6为例
1. 找到安装文件夹D:\devtools\Gradle\gradle-8.6\init.d
2. 新建文件以.gradle结尾。例:init.gradle
- allprojects {
- repositories {
- mavenLocal()
- maven { name "aliyunmaven" ;url "https://maven.aliyun.com/nexus/content/groups/public/" }
- maven { name "Batek" ;url "https://nexus.bsdn.org/content/groups/public/" }
- mavenCentral()
- }
-
- buildscript {
- repositories {
- maven { name "aliyunmaven" ;url "https://maven.aliyun.com/nexus/content/groups/public/" }
- maven { name "Batek" ;url "https://nexus.bsdn.org/content/groups/public/" }
- maven { name "M2" ; url "https://plugins.gradle.org/m2/" }
- }
- }
- }
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。