KlipRootExtension

abstract class KlipRootExtension : KlipExtension

Gradle extension to manage klip plugin properties applied to root project

Constructors

Link copied to clipboard
fun KlipRootExtension()

Functions

Link copied to clipboard
fun klipAnnotation(fqName: String)

Register an annotation for compiler processing and path injection

Link copied to clipboard
fun scopeAnnotation(fqName: String)

Register an annotation for function scopes for compiler klip detection and processing

Link copied to clipboard
fun scopeFunction(fqName: String)

Register a function for function scopes for compiler klip detection and processing

Properties

Link copied to clipboard
abstract val debug: Property<Boolean>
Link copied to clipboard
abstract val enabled: Property<Boolean>

Whether plugin is enabled

Link copied to clipboard
abstract val klipAnnotations: SetProperty<String>

Fully qualified annotation names to register for compiler processing and path injection. Setting this property gives you full control over the annotations and overrides the default ones.

Link copied to clipboard
abstract val port: Property<Int>
Link copied to clipboard
abstract val scopeAnnotations: SetProperty<String>

Fully qualified annotation names to register function scopes for compiler klip detection and processing Setting this property gives you full control over the annotations and overrides the default ones.

Link copied to clipboard
abstract val scopeFunctions: SetProperty<String>

Fully qualified function names to register function scopes for compiler klip detection and processing Setting this property gives you full control over the functions and overrides the default ones.

Link copied to clipboard
abstract val update: Property<Boolean>

Whether the klips should be updated