SdkGenConfiguration

Inputs and conventions for one named SDK generation configuration.

Properties

Link copied to clipboard
val configFile: RegularFileProperty

The checked-in sdkgen.yaml or sdkgen.json file.

Link copied to clipboard
val edition: Property<String>

Generator edition, included in the output manifest identity.

Link copied to clipboard
val generatedSources: ConfigurableFileCollection

The generated Kotlin source root (outputDirectory/sources) as a file collection that is built by this configuration's generation task. Its location is derived from outputDirectory alone — never from a task output provider — so consumers (and the plugin's own main/commonMain wiring) can add it to any source set, including Android or custom KMP source sets, without triggering early task-output queries or capturing a task provider in the configuration cache:

Link copied to clipboard
val generatorVersion: Property<String>

Generator implementation identity.

Link copied to clipboard
val kotlinPoetVersion: Property<String>

KotlinPoet implementation identity, included in the output manifest identity.

Link copied to clipboard
Link copied to clipboard
val outputDirectory: DirectoryProperty

Unique task-owned output root; generated sources are published below its sources child.

Link copied to clipboard
val overlayFiles: ConfigurableFileCollection

Additional overlay files to include in the input fingerprint.

Link copied to clipboard
val pluginClasspath: ConfigurableFileCollection

Extension/plugin artifacts. Non-empty values are rejected until Gradle-side SPI discovery and execution are wired; keep this empty in the current preview.

Link copied to clipboard
val pluginMetadata: MapProperty<String, String>

Stable plugin coordinates/configuration. Non-empty values are rejected until Gradle-side SPI discovery and execution are wired; keep this empty in the current preview.

Link copied to clipboard
val specFiles: ConfigurableFileCollection

Additional specification/reference files to include in the input fingerprint.