当前位置:网站首页>Installing gradle

Installing gradle

2022-07-07 23:36:00 Rain fish in summer

1、 Download binary package decompression

2、 Configure environment variables

 Insert picture description here
 Insert picture description here

3、 verification , The following is a success

 Insert picture description here

4、 To configure Gradle Warehouse source

stay Gradle Install under directory init.d Under the folder , Create a new one init.gradle file , Fill in the following configuration

allprojects {
    
    repositories {
    
        maven {
     url 'file:///E:/005java/001maven/repository'}
        mavenLocal()
        maven {
     name "Alibaba" ; url "https://maven.aliyun.com/repository/public" }
        maven {
     name "Bstek" ; url "http://nexus.bsdn.org/content/groups/public/" }
        mavenCentral()
    }

    buildscript {
     
        repositories {
     
            maven {
     name "Alibaba" ; url 'https://maven.aliyun.com/repository/public' }
            maven {
     name "Bstek" ; url 'http://nexus.bsdn.org/content/groups/public/' }
            maven {
     name "M2" ; url 'https://plugins.gradle.org/m2/' }
        }
    }
}

5、idea To configure

 Insert picture description here

原网站

版权声明
本文为[Rain fish in summer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130557396675.html