Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40B6517626 for ; Tue, 20 Jan 2015 03:04:35 +0000 (UTC) Received: (qmail 18304 invoked by uid 500); 20 Jan 2015 03:04:37 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 18219 invoked by uid 500); 20 Jan 2015 03:04:36 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 18170 invoked by uid 99); 20 Jan 2015 03:04:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jan 2015 03:04:35 +0000 Date: Tue, 20 Jan 2015 03:04:35 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-8255) Android gradle builds should be configurable via gradle properties instead of custom environment variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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