KotlinMetadataAware

An interface that provides access to Kotlin-specific metadata for a Gradle project. The task that inherits from this interface is automatically marked as dependent on the compileKotlin task.

Inheritors

Properties

Link copied to clipboard
@get:Internal
abstract val kotlinApiVersion: Property<String?>

The apiVersion property value of compileKotlin.kotlinOptions defined in the build script.

Link copied to clipboard
@get:Internal
abstract val kotlinJvmTarget: Property<String?>

The jvmTarget property value of compileKotlin.kotlinOptions defined in the build script.

Link copied to clipboard
@get:Internal
abstract val kotlinLanguageVersion: Property<String?>

The languageVersion property value of compileKotlin.kotlinOptions defined in the build script.

Link copied to clipboard
@get:Input
abstract val kotlinPluginAvailable: Property<Boolean>

Indicates that the Kotlin Gradle Plugin is loaded and available.

Link copied to clipboard
@get:Internal
abstract val kotlinStdlibDefaultDependency: Property<Boolean?>

kotlin.stdlib.default.dependency property value defined in the gradle.properties file.

Link copied to clipboard
@get:Internal
abstract val kotlinVersion: Property<String?>

The version of Kotlin used in the project.

Link copied to clipboard
@get:Input
abstract val kotlinxCoroutinesLibraryPresent: Property<Boolean>

This variable represents whether the Kotlin Coroutines library is added explicitly to the project dependencies.