api / org.gradle.platform.base / TypeBuilder

TypeBuilder

@Incubating interface TypeBuilder<T : Any>

A TypeBuilder to configure the registration of a type.

Parameters

- The registered type.

Functions

defaultImplementation

abstract fun defaultImplementation(implementation: Class<*>): TypeBuilder<T>

Allows the plugin to register the implementation type.

internalView

abstract fun internalView(internalView: Class<*>): TypeBuilder<T>

Allows type registration rules to add internal views to the registered type.