[ https://issues.apache.org/jira/browse/CB-14201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539522#comment-16539522 ]
ASF GitHub Bot commented on CB-14201: ------------------------------------- erisu commented on issue #465: CB-14201: (android) Removes Gradle property in-line command arguments… URL: https://github.com/apache/cordova-android/pull/465#issuecomment-404035534 @raphinesse I created this PR to replace the previous PR #459. As discusses in #459, it does feel better to remove the Gradle command line argument usage in-favor of the `gradle.properties` file. This also eliminates the idea or need for creating extra Cordova arguments for setting `jvmargs` or potential other Gradle property overrides. The user can instead change the values in gradle.properties. Please let me know what you think of this over the other PR. Also, this PR is linked to a new ticket, https://issues.apache.org/jira/browse/CB-14201, as the previous ticket only focused on `jvmargs`. This PR will affect all Gradle properties that we current set. (`org.gradle.daemon`, `org.gradle.jvmargs`, `android.useDeprecatedNdk`) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Remove Gradle property in-line command arguments for gradle.properties > ---------------------------------------------------------------------- > > Key: CB-14201 > URL: https://issues.apache.org/jira/browse/CB-14201 > Project: Apache Cordova > Issue Type: Improvement > Components: cordova-android > Reporter: Bryan Ellis > Priority: Minor > > By passing in properties as an argument to the Gradle's command, it prevents > users from being able to override these values. > In one example, a user reported > ([CB-14139|https://issues.apache.org/jira/browse/CB-14139]) the need to be > able to set the jvmargs so builds works on 32bit Java. > Some other values Cordova passes by default are org.gradle.daemon and > android.useDeprecatedNdk. > By removing the command line argument usage and migrating to the usage of > gradle.properties, it gives users the flexibility to override defaults if > desired. > This ticket will also resolve > [CB-14139|https://issues.apache.org/jira/browse/CB-14139] but also remove the > other argument usage. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org