How to skip downloading while using "./gradlew localDistro"

Because of the network is not very stable, every time the "./gradlew localDistro" command reaches the downloading of,it will fail after long download before finish.
I have downloaded the package from browser, then how to skip download it while compile it by gradle


./gradlew --offline localDistro

That used to work, but I haven't tried recently.

Thanks for your reply, It seems a way which I don't know.

I downloaded the package, but I don't know where to local the package for offline.
And how about the other package which not downloaded yet if I use this command.

This question has a answer to let us know the location " * groupid + artifactid + version + FILE_SHA_HASH_VALUE + FILE_NAME"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.