Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

environment_settings

Marcel Kloubert edited this page Nov 1, 2017 · 10 revisions

Home >> Settings >> Environment settings

Environment settings

Defines settings for the environment of the current process.

{
    "deploy": {
        "env": {
            "importVarsAsPlaceholders": true,

            "vars": {
                "ANDROID_HOME": "${homeDir}/android/sdk",
                "Path": "E:\\ant\\bin;${Path}"
            }
        }
    }
}
Name Description
importVarsAsPlaceholders Automatically import environment variables as placeholders or not. Default: (false)
noPlaceholdersForTheseVars Defines a list of one or more variables that should NOT use placeholders. You also can define (true) to deactivate the feature for all variables.
vars* Defines one or more additional environment variable for the current process.

* supports placeholders

Variables

Defines one or more environment variable for the current process.

{
    "deploy": {
        "env": {
            "vars": {
                "JAVA_HOME": "C:\\Program Files\\Java\\jdk1.8.0_51"
            }
        }
    }
}
Clone this wiki locally