You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Austin France (JIRA)" <ji...@apache.org> on 2018/01/30 12:21:00 UTC

[jira] [Created] (CB-13846) cordova forced use of gradle daemon is problematic

Austin France created CB-13846:
----------------------------------

             Summary: cordova forced use of gradle daemon is problematic
                 Key: CB-13846
                 URL: https://issues.apache.org/jira/browse/CB-13846
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-android
         Environment: Jenkins on Linux
            Reporter: Austin France
            Assignee: Joe Bowser


[GradleBuilder.js line 57|https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/builders/GradleBuilder.js#L57] forcably turns the gradle daemon on, overriding any ~/.gradle/gradle.properties or GRADLE_OPTS environment variable settings.

This is problematic because when performing concurrent builds (for example, in jenkins with more than one executer) the gradle daemon often crashes, causing the build to fail.

There needs to be an option (in config.xml) to disable use of the gradle daemon or better still, not force the use of the gradle daemon and leave it up the the proper mechanisms (gradle.properties or GRADLE_OPTS) to disable or enable it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org