Class KiteProviderExtension

java.lang.Object
cloud.kitelang.gradle.KiteProviderExtension

public abstract class KiteProviderExtension extends Object
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 Details

    • KiteProviderExtension

      public KiteProviderExtension()
  • Method Details

    • getName

      public abstract org.gradle.api.provider.Property<String> getName()
      The provider name (e.g., "aws", "gcp", "azure"). Used in the provider.json manifest.
    • getMainClass

      public abstract org.gradle.api.provider.Property<String> getMainClass()
      The fully qualified main class name for the provider. This class should extend ProviderServer from the SDK.
    • getProtocolVersion

      public abstract org.gradle.api.provider.Property<Integer> getProtocolVersion()
      The protocol version for provider communication. Defaults to 1.
    • getSdkVersion

      public abstract org.gradle.api.provider.Property<String> getSdkVersion()
      The SDK version to use. Defaults to "0.1.0".
    • getDocsEnabled

      public abstract org.gradle.api.provider.Property<Boolean> getDocsEnabled()
      Whether to generate documentation during build. Defaults to true.
    • getDocsFormats

      public abstract org.gradle.api.provider.Property<String> getDocsFormats()
      Documentation output formats. Comma-separated list: html, markdown, combined-markdown, schemas Defaults to "html,markdown,schemas".
    • getDocsOutputDir

      public abstract org.gradle.api.provider.Property<String> getDocsOutputDir()
      Documentation output directory. Defaults to "docs" (in project root, suitable for git tracking).
    • getLogoUrl

      public abstract org.gradle.api.provider.Property<String> getLogoUrl()
      URL to the provider's logo image. Used in documentation header. Optional.