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:23:00 UTC

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

     [ https://issues.apache.org/jira/browse/CB-13846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Austin France updated CB-13846:
-------------------------------
    Description: 
[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, an option to 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.

  was:
[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.


> 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
>            Priority: Major
>
> [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, an option to 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