api / org.gradle.api.tasks.compile / CompileOptions / setCompilerArgs

setCompilerArgs

open fun setCompilerArgs(compilerArgs: MutableList<String>): Unit

Sets any additional arguments to be passed to the compiler. Defaults to the empty list.