api / org.gradle.testkit.runner / GradleRunner / getArguments

getArguments

abstract fun getArguments(): MutableList<String>

The build arguments.

Effectively, the command line arguments to Gradle. This includes all tasks, flags, properties etc.

The returned list is immutable.

Return
the build arguments