invoke

operator fun invoke(type: RegistryType, registry: Registry.() -> Unit = {}): Registry

Creates and configures a Registry instance with Kotlin DSL syntax.

Return

Configured Registry instance

Parameters

type

The type of registry (maven, npm, docker, etc.)

registry

Configuration lambda to set up the registry details