gradle
8.4

# environment

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

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

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

#### See also

AbstractExecTask.environment

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

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

#### See also

Test.environment

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

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

#### See also

JavaExec.environment