Documentation ¶
Index ¶
Constants ¶
View Source
const Directive_KotlinExtension = "kotlin"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configs ¶
type Configs = map[string]*KotlinConfig
type KotlinConfig ¶
type KotlinConfig struct { *javaconfig.Config // contains filtered or unexported fields }
func New ¶
func New(repoRoot string) *KotlinConfig
func ParentForPackage ¶
func ParentForPackage(c Configs, pkg string) *KotlinConfig
ParentForPackage returns the parent Config for the given Bazel package.
func (*KotlinConfig) GenerationEnabled ¶ added in v1.508.16
func (c *KotlinConfig) GenerationEnabled() bool
GenerationEnabled returns whether the extension is enabled or not.
func (*KotlinConfig) NewChild ¶
func (c *KotlinConfig) NewChild(childPath string) *KotlinConfig
func (*KotlinConfig) SetGenerationEnabled ¶ added in v1.508.16
func (c *KotlinConfig) SetGenerationEnabled(enabled bool)
SetGenerationEnabled sets whether the extension is enabled or not.
Click to show internal directories.
Click to hide internal directories.