# environment

inline fun Test.environment(vararg environmentVariables: Pair<String, Any>): Test(source)

Kotlin extension function for org.gradle.api.tasks.testing.Test.environment.

#### Since

0.7

#### See also

org.gradle.api.tasks.testing.Test.environment

inline fun Test.environment(vararg environmentVariables: Pair<String, Any>): Test(source)

Kotlin extension function for org.gradle.api.tasks.testing.Test.environment.

#### See also

org.gradle.api.tasks.testing.Test.environment

inline fun ProcessForkOptions.environment(vararg environmentVariables: Pair<String, Any>): ProcessForkOptions(source)

Kotlin extension function for org.gradle.process.ProcessForkOptions.environment.

#### Since

0.9

#### See also

org.gradle.process.ProcessForkOptions.environment

inline fun ProcessForkOptions.environment(vararg environmentVariables: Pair<String, Any>): ProcessForkOptions(source)

Kotlin extension function for org.gradle.process.ProcessForkOptions.environment.

#### See also

org.gradle.process.ProcessForkOptions.environment

inline fun <T : AbstractExecTask<*>> AbstractExecTask<T>.environment(vararg environmentVariables: Pair<String, Any>): T(source)

Kotlin extension function for org.gradle.api.tasks.AbstractExecTask.environment.

#### Since

2.1

#### See also

org.gradle.api.tasks.AbstractExecTask.environment

inline fun <T : AbstractExecTask<*>> AbstractExecTask<T>.environment(vararg environmentVariables: Pair<String, Any>): T(source)

Kotlin extension function for org.gradle.api.tasks.AbstractExecTask.environment.

#### See also

org.gradle.api.tasks.AbstractExecTask.environment

inline fun JavaExec.environment(vararg environmentVariables: Pair<String, Any>): JavaExec(source)

Kotlin extension function for org.gradle.api.tasks.JavaExec.environment.

#### Since

0.9

#### See also

org.gradle.api.tasks.JavaExec.environment

inline fun JavaExec.environment(vararg environmentVariables: Pair<String, Any>): JavaExec(source)

Kotlin extension function for org.gradle.api.tasks.JavaExec.environment.

#### See also

org.gradle.api.tasks.JavaExec.environment