KotlinxSchemaExtension

abstract class KotlinxSchemaExtension @Inject constructor(source)

Extension for configuring the Kotlinx Schema Gradle plugin.

Example usage:

kotlinxSchema {
enabled.set(true)
}

Constructors

Link copied to clipboard
@Inject
constructor()

Properties

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

Whether schema generation is enabled. Default: true

Link copied to clipboard
abstract val rootPackage: Property<String>

Optional root package to limit processing to. If set, only classes in this package (or its subpackages) will be processed by KSP. If not set, all packages are processed.