HasPublicType

Allows a scriptable object, such as a project extension, to declare its preferred public type. The public type of an object is the one exposed to statically-typed consumers, such as Kotlin build scripts, by default.

Since

3.5

Functions

Link copied to clipboard
abstract fun getPublicType(): TypeOf<out Any>
Public type.