当前位置:   article > 正文

Gradle配置阿里云源_gradle aliyun

gradle aliyun

gradle 8.6为例

1. 找到安装文件夹D:\devtools\Gradle\gradle-8.6\init.d

2. 新建文件以.gradle结尾。例:init.gradle

  1. allprojects {
  2. repositories {
  3. mavenLocal()
  4. maven { name "aliyunmaven" ;url "https://maven.aliyun.com/nexus/content/groups/public/" }
  5. maven { name "Batek" ;url "https://nexus.bsdn.org/content/groups/public/" }
  6. mavenCentral()
  7. }
  8. buildscript {
  9. repositories {
  10. maven { name "aliyunmaven" ;url "https://maven.aliyun.com/nexus/content/groups/public/" }
  11. maven { name "Batek" ;url "https://nexus.bsdn.org/content/groups/public/" }
  12. maven { name "M2" ; url "https://plugins.gradle.org/m2/" }
  13. }
  14. }
  15. }

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/293197
推荐阅读
相关标签
  

闽ICP备14008679号