[
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.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, 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.
> 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.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: [email protected]
For additional commands, e-mail: [email protected]