Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14201

Remove Gradle property in-line command arguments for gradle.properties

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Resolved
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: cordova-android
    • Labels:
      None

      Description

      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) 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 but also remove the other argument usage.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erisu Bryan Ellis
                Reporter:
                erisu Bryan Ellis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: