cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8255) Android gradle builds should be configurable via gradle properties instead of custom environment variables
Date Tue, 20 Jan 2015 03:04:35 GMT

    [ https://issues.apache.org/jira/browse/CB-8255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283342#comment-14283342
] 

ASF subversion and git services commented on CB-8255:
-----------------------------------------------------

Commit af60f71ea3bdd8f0f4d24d5fdead9c36c5046d71 in cordova-android's branch refs/heads/4.0.x
from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=af60f71 ]

CB-8255 Fix `cordova/build --gradleVar=--foo=bar` stripping off `=bar`


> Android gradle builds should be configurable via gradle properties instead of custom
environment variables
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CB-8255
>                 URL: https://issues.apache.org/jira/browse/CB-8255
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> Gradle has excellent support for build properties, as explained here:
> http://www.gradle.org/docs/current/userguide/tutorial_this_and_that.html
> Our use of environment variables isn't great, mostly because in Java, environment variables
are immutable, and so can't be changed via build-extras.gradle. There needs to be a way to
make IDE builds use the same settings as command-line builds, and switching to use gradle
properties is a good step towards this (which can be set via environment variables anyways!)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message