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

后端 未结 10 1787
走了就别回头了
走了就别回头了 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 07:04

    I found another easiest way to do this just started my XAMPP server and then made a folder gradle inside htdocs. I added the zipped file gradle-4.4-all.zip inside that folder. Changed the distribution url to distributionUrl=http\://localhost/gradle/gradle-4.4-all.zip I restarted android and the syncing completed without any issue.

提交回复
热议问题