Package-level declarations

Types

Link copied to clipboard

This interface represents the configuration settings for invoking the cinterop tool in Kotlin/Native projects. The cinterop tool provides the ability to use C libraries inside Kotlin projects.

Link copied to clipboard
Link copied to clipboard

Represents a container containing all the settings for a specific Kotlin compiler plugin.

Link copied to clipboard
class CompositeSubpluginOption(val key: String, lazyValue: Lazy<String>, val originalOptions: List<SubpluginOption>) : SubpluginOption

Represents a Kotlin compiler plugin option where the key accepts multiple values. For example:

Link copied to clipboard

Provides a reference to the Gradle task that executes KotlinExecution.

Link copied to clipboard

Defines how the FilesSubpluginOption is used for Gradle task input/output checks.

Link copied to clipboard
class FilesSubpluginOption(val key: String, val files: Iterable<File>, val kind: FilesOptionKind = FilesOptionKind.INTERNAL, lazyValue: Lazy<String> = lazy { files.joinToString(File.pathSeparator) { it.normalize().absolutePath } }) : SubpluginOption

Represents a Kotlin compiler plugin option that provides paths to one or many files.

Link copied to clipboard

Contains all the configurable Kotlin dependencies for a Kotlin DSL entity, like an instance of KotlinSourceSet.

Link copied to clipboard
interface HasProject

Represents a Kotlin DSL entity associated with a Gradle Project.

Link copied to clipboard
open class InternalSubpluginOption(val key: String, value: String) : SubpluginOption

Represents a Kotlin compiler plugin option that is excluded from Gradle task input/output checks.

Link copied to clipboard

A KotlinExecution.ExecutionSource that provides the classpath and testClassesDirs where JVM test classes can be found.

Link copied to clipboard

The base interface for all Kotlin Gradle plugins.

Link copied to clipboard

Represents the configuration of a Kotlin Compiler invocation. The KotlinCompilation API is designed to ensure the correct and consistent propagation of any compilation changes to all underlying tasks and configurations. Use the KotlinCompilation API instead of getting tasks, configurations, and other related domain objects directly through the Gradle API. For Native targets, KotlinCompilation also provides an API to configure cinterop.

Link copied to clipboard

Represents the outputs of a Kotlin source set compilation.

Link copied to clipboard

Gradle plugin implementing support for a Kotlin compiler plugin.

Link copied to clipboard

Represents a DSL for managing the dependencies of Kotlin entities that implement a HasKotlinDependencies interface.

Link copied to clipboard

Represents the execution of Kotlin code, such as tests.

Link copied to clipboard

Provides a DSL to define the structure of KotlinSourceSets inside the KotlinSourceSetTree.

Link copied to clipboard
sealed interface KotlinHierarchyTemplate

Defines a hierarchy of KotlinSourceSets in a multiplatform project.

Link copied to clipboard

The different modes of the Kotlin compiler for compiling source code into an output artifact for the KotlinPlatformType.js platform.

Link copied to clipboard

Represents a Kotlin DSL entity holding information about possible modes for the Kotlin/JS compiler.

Link copied to clipboard

Provides factory methods to create a custom Kotlin compilation pipeline for the JVM platform.

Link copied to clipboard

An Attribute representing the Kotlin target compilation platform.

Link copied to clipboard
interface KotlinSourceSet : Named, HasProject, HasMutableExtras, HasKotlinDependencies

Represents a logical group of Kotlin files, including sources, resources and additional metadata describing how this group participates in the compilation of this project.

Link copied to clipboard

Represents a Kotlin DSL entity containing a collection of multiple KotlinSourceSets.

Link copied to clipboard
class KotlinSourceSetTree(val name: String)

Represents a tree of shared KotlinSourceSets.

Link copied to clipboard

Represents a target platform for which Kotlin code is built.

Link copied to clipboard

A special type of SoftwareComponent to define how and what to publish in maven repository for Kotlin projects.

Link copied to clipboard

Represents an execution in the scope of a KotlinTarget.

Link copied to clipboard

Represents a Kotlin DSL entity containing a collection of multiple Kotlin targets in this project.

Link copied to clipboard
annotation class KotlinTargetsDsl

Marks a KotlinTarget with the @DslMarker.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Provides the DSL to configure LanguageSettings for a KotlinSourceSet entity.

Link copied to clipboard
open class SubpluginArtifact(val groupId: String, val artifactId: String, val version: String? = null)

Represents Maven coordinates for the Kotlin compiler plugin artifact.

Link copied to clipboard
open class SubpluginOption(val key: String, lazyValue: Lazy<String>)

Represents an option for a Kotlin compiler plugin, defined by a key and a value.

Functions

Link copied to clipboard

Creates a new KotlinHierarchyTemplate by extending the existing one and using inputs provided via the describe definition.

Link copied to clipboard

Creates a new KotlinHierarchyTemplate using inputs provided via the describe definition.