KotlinMultiplatformAndroidCompilation

Added in 8.2.0

interface KotlinMultiplatformAndroidCompilation : KotlinCompilation


Summary

Public properties

TaskProvider<KotlinCompilationTask<KotlinJvmCompilerOptions>>
String

The name of the component corresponding to this Android compilation.

Inherited functions

From org.gradle.api.attributes.HasAttributes
From org.jetbrains.kotlin.gradle.plugin.HasKotlinDependencies
From org.jetbrains.kotlin.gradle.plugin.KotlinCompilation
Unit
open Unit
open Unit
open Unit
Unit
open String
open Unit

This function is deprecated. Please migrate to the compilerOptions DSL.

open Unit

This function is deprecated. Please migrate to the compilerOptions DSL.

Unit
source(sourceSet: KotlinSourceSet)

This function is deprecated. Scheduled for removal with Kotlin 2.3.

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
Set<KotlinCompilation<*>>
Set<KotlinSourceSet>
open List<KotlinCompilation<*>>

This property is deprecated. Use 'associatedCompilations' instead

Set<KotlinCompilation<*>>
String
String
String
FileCollection
KotlinCompile<KotlinCommonOptions>

This property is deprecated. Accessing task instance directly is deprecated.

String
TaskProvider<KotlinCompile<KotlinCommonOptions>>

This property is deprecated. Replaced with compileTaskProvider.

HasCompilerOptions<*>

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

KotlinSourceSet
open String

This property is deprecated. Use defaultSourceSet.name instead.

open String
KotlinCommonOptions

This property is deprecated. Please migrate to the compilerOptions DSL.

Set<KotlinSourceSet>
KotlinCompilationOutput
open KotlinPlatformType
String?
FileCollection?
KotlinTarget

Public properties

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