You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Chad Dombrova (JIRA)" <ji...@apache.org> on 2019/08/08 17:17:00 UTC

[jira] [Created] (BEAM-7931) Fix gradlew to allow offline builds

Chad Dombrova created BEAM-7931:
-----------------------------------

             Summary: Fix gradlew to allow offline builds
                 Key: BEAM-7931
                 URL: https://issues.apache.org/jira/browse/BEAM-7931
             Project: Beam
          Issue Type: Improvement
          Components: build-system
            Reporter: Chad Dombrova


When running `./gradlew` the first thing it tries to do is download gradle:

{noformat}
Downloading https://services.gradle.org/distributions/gradle-5.2.1-all.zip
{noformat}

There seems to be no way to skip this, even if the correct version of gradle has already been downloaded and exists in the correct place.  The tool should be smart enough to do a version check and skip downloading if it exists.  Unfortunately, the logic is wrapped up inside gradle/wrapper/gradle-wrapper.jar so there does not seem to be any way to fix this.  Where is the code for this jar?

This is the first step of several to allow beam to be built offline.




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)