How to use gradle zip in local system without downloading when using gradle-wrapper

后端 未结 10 1772
走了就别回头了
走了就别回头了 2020-12-04 06:29

I\'m trying to build a gradle project with gradle-wrapper (gradlew).

When I build with ./gradlew build, it outputs text

10条回答
  •  [愿得一人]
    2020-12-04 06:50

    copy your path wher you put the file gradle-5.0-rc-5-bin.zip example: path C:/My doc/tools

    if you have some spaces in your path change it with %20

    file:///C:/My%20doc/tools/gradle-5.0-rc-5-bin.zip

    and execute the command:

    $ gradlew wrapper --gradle-version 5.0-rc-5
    

提交回复
热议问题