# AbstractOptions

abstract class AbstractOptions : Serializable(source)

### Deprecated

Base class for compilation-related options.

#### Deprecated

This class will be removed in Gradle 9.0. All classes that extend this class will no longer extend it.

#### Inheritors

ScalaDocOptions
BaseScalaCompileOptions
GroovyCompileOptions
BaseForkOptions
CompileOptions
DebugOptions

## Constructors

AbstractOptions
Link copied to clipboard
constructor()

## Functions

define
Link copied to clipboard
open fun define(@Nullable args: Map<String, Any>)
Reflectively sets the properties of this object from the given map.
define
Link copied to clipboard
inline fun AbstractOptions.define(vararg args: Pair<String, Any?>)

Kotlin extension function for org.gradle.api.tasks.compile.AbstractOptions.define.