Stay organized with collections
Save and categorize content based on your preferences.
@Incubating interface KotlinMultiplatformAndroidTarget : KotlinMultiplatformAndroidExtension
Interface for kotlin multiplatform android target
Summary
Public functions |
@Incubating Unit |
Enables compilation of java sources.
|
Inherited functions |
From class com.android.build.api.dsl.KotlinMultiplatformAndroidExtension
@Incubating Unit |
Options for configuring AAR metadata.
|
@Incubating Unit |
Specifies options for doing variant selection for external Android dependencies based on build types and product flavours
|
@Incubating Unit |
Specifies options for the lint tool.
|
@Incubating Unit |
Specifies options for the R8/D8 optimization tool.
|
@Incubating Unit |
Specifies options and rules that determine which files the Android plugin packages into your APK.
|
@Incubating Unit |
Includes the specified library to the classpath.
|
@Incubating Unit |
Includes the specified library to the classpath.
|
@Incubating Unit |
Helper function to create a compilation for tests that run on a device (previously referred to as android instrumentation tests) with some defaults
|
@Incubating Unit |
Helper function to create and configure a compilation for tests that run on a device (previously referred to as android instrumentation tests) with some defaults
|
@Incubating Unit |
Helper function to create a compilation for tests that run on a device (previously referred to as android instrumentation tests) with a specific compilation name where the default source set name is the compilation name prefixed with "android"
|
@Incubating Unit |
Helper function to create and configure a compilation for tests that run on a device (previously referred to as android instrumentation tests) with a specific compilation name where the default source set name is the compilation name prefixed with "android"
|
@Incubating Unit |
Helper function to create a compilation for tests that run on the JVM (previously referred to as unit tests) with some defaults
|
@Incubating Unit |
Helper function to create and configure a compilation for tests that run on the JVM (previously referred to as unit tests) with some defaults
|
@Incubating Unit |
Helper function to create a compilation for tests that run on the JVM (previously referred to as unit tests) with a specific compilation name where the default source set name is the compilation name prefixed with "android"
|
@Incubating Unit |
Helper function to create and configure a compilation for tests that run on the JVM (previously referred to as unit tests) with a specific compilation name where the default source set name is the compilation name prefixed with "android"
|
|
Inherited properties |
From class com.android.build.api.dsl.KotlinMultiplatformAndroidExtension
AarMetadata |
Options for configuring AAR metadata.
|
String |
Specifies the version of the SDK Build Tools to use when building your project.
|
Int? |
Specifies the API level to compile your project against.
|
Int? |
|
String? |
|
DependencyVariantSelection |
Specifies options for doing variant selection for external Android dependencies based on build types and product flavours
|
MutableMap<String, Any> |
Additional per module experimental properties.
|
Boolean |
Whether core library desugaring is enabled.
|
Lint |
Specifies options for the lint tool.
|
Int? |
The maxSdkVersion, or null if not specified.
|
Int? |
The minimum SDK version.
|
String? |
|
String? |
The namespace of the generated R and BuildConfig classes.
|
KmpOptimization |
Specifies options for the R8/D8 optimization tool.
|
Packaging |
Specifies options and rules that determine which files the Android plugin packages into your APK.
|
TestCoverage |
Configure the gathering of code-coverage from tests.
|
String? |
The namespace used by the android test and unit test components for the generated R and BuildConfig classes.
|
|
Public functions
Public properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[]]