# environment

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

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

#### See also

Test.environment

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

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

#### See also

ProcessForkOptions.environment

inline fun <T : AbstractExecTask<*>> AbstractExecTask<T>.environment(vararg environmentVariables: Pair<String, Any>): T(source)
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

AbstractExecTask.environment

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

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

#### See also

JavaExec.environment