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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • None
    • Master
    • cordova-android
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: