kotlinconfig

package
v1.509.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL