gradle
8.3

# define

abstract fun define(name: String)

Defines a named preprocessor macros to use when compiling this binary. The macro will be supplied to the compiler as '-D name'.

abstract fun define(name: String, definition: String)

Defines a named preprocessor macro with a value, which will be used when compiling this binary. The macro will be supplied to the compiler as '-D name=definition'.