# ToolOptions

# ToolOptions

<br />

```
interface ToolOptions
```

<br />

*** ** * ** ***

## Summary

|                                                                                                                                                                                                       ### Public functions                                                                                                                                                                                                       ||
|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | [setJvmOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ToolOptions#setJvmOptions(kotlin.collections.List))`(from: `[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>)` |

|                                                                                                                                                                                   ### Public properties                                                                                                                                                                                    ||
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`<`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>` | [jvmOptions](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ToolOptions#jvmOptions()) Extra JVM options to give to the out of process worker JVM.   |
| [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)                                                                                                            | [runInSeparateProcess](https://developer.android.com/reference/tools/gradle-api/7.4/com/android/build/api/dsl/ToolOptions#runInSeparateProcess()) If true, run tool workers out of process. |

## Public functions

### setJvmOptions

```
fun setJvmOptions(from: List<String>): Unit
```

## Public properties

### jvmOptions

```
val jvmOptions: MutableList<String>
```

Extra JVM options to give to the out of process worker JVM. Useful for setting things like max memory usage  

### runInSeparateProcess

```
var runInSeparateProcess: Boolean
```

If true, run tool workers out of process.