Package cloud.kitelang.gradle
Class KiteProviderExtension
java.lang.Object
cloud.kitelang.gradle.KiteProviderExtension
Extension for configuring Kite provider builds.
Usage in build.gradle:
kiteProvider {
name = 'aws'
mainClass = 'cloud.kitelang.provider.aws.AwsProvider'
docs {
enabled = true
formats = 'html,markdown'
}
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract org.gradle.api.provider.Property<Boolean> Whether to generate documentation during build.abstract org.gradle.api.provider.Property<String> Documentation output formats.abstract org.gradle.api.provider.Property<String> Documentation output directory.abstract org.gradle.api.provider.Property<String> The fully qualified main class name for the provider.abstract org.gradle.api.provider.Property<String> getName()The provider name (e.g., "aws", "gcp", "azure").abstract org.gradle.api.provider.Property<Integer> The protocol version for provider communication.abstract org.gradle.api.provider.Property<String> The SDK version to use.
-
Constructor Details
-
KiteProviderExtension
public KiteProviderExtension()
-
-
Method Details
-
getName
The provider name (e.g., "aws", "gcp", "azure"). Used in the provider.json manifest. -
getMainClass
The fully qualified main class name for the provider. This class should extend ProviderServer from the SDK. -
getProtocolVersion
The protocol version for provider communication. Defaults to 1. -
getSdkVersion
The SDK version to use. Defaults to "0.1.0". -
getDocsEnabled
Whether to generate documentation during build. Defaults to true. -
getDocsFormats
Documentation output formats. Comma-separated list: html, markdown, combined-markdown, kite Defaults to "html,markdown,kite". -
getDocsOutputDir
Documentation output directory. Defaults to "build/docs/provider".
-