KotlinMultiplatformAndroidCompilation

Added in 8.2.0

interface KotlinMultiplatformAndroidCompilation : KotlinCompilation


Summary

Public functions

Unit

This function is deprecated. Use compilerOptions instead of kotlinOptions to configure compilations

Unit

This function is deprecated. Use compilerOptions instead of kotlinOptions to configure compilations

Public properties

TaskProvider<KotlinCompilationTask<KotlinJvmCompilerOptions>>
HasCompilerOptions<KotlinJvmCompilerOptions>

This property is deprecated. To configure compilation compiler options use 'compileTaskProvider': compilation.compileTaskProvider.configure{ compilerOptions {} }

String

The name of the component corresponding to this Android compilation.

KotlinCommonOptions

This property is deprecated. Use compilerOptions instead of kotlinOptions to configure compilations

Inherited properties

From org.jetbrains.kotlin.gradle.plugin.HasKotlinDependencies
From org.jetbrains.kotlin.tooling.core.HasMutableExtras
From org.jetbrains.kotlin.gradle.plugin.HasProject
From org.jetbrains.kotlin.gradle.plugin.KotlinCompilation

Public functions

kotlinOptions

Added in 8.2.0
Deprecated in 8.2.0
fun kotlinOptions(configure: Action<KotlinCommonOptions>): Unit

kotlinOptions

Added in 8.2.0
Deprecated in 8.2.0
fun kotlinOptions(configure: KotlinCommonOptions.() -> Unit): Unit

Public properties

compilerOptions

Added in 8.2.0
Deprecated in 8.13.0
val compilerOptionsHasCompilerOptions<KotlinJvmCompilerOptions>

componentName

Added in 8.8.0
val componentNameString

The name of the component corresponding to this Android compilation. Consists of the compilation name prefixed by the android target name (e.g "android") The default component names for the default compilations would be:

  • androidMain

  • androidHostTest

  • androidDeviceTest

kotlinOptions

Added in 8.2.0
Deprecated in 8.2.0
val kotlinOptionsKotlinCommonOptions