# KotlinMultiplatformAndroidCompilationBuilder

# KotlinMultiplatformAndroidCompilationBuilder

[View Source](https://cs.android.com/search?q=file:com/android/build/api/dsl/KotlinMultiplatformAndroidCompilationBuilder.kt+class:com.android.build.api.dsl.KotlinMultiplatformAndroidCompilationBuilder)  
Added in 8.2.0  

<br />

```
interface KotlinMultiplatformAndroidCompilationBuilder
```

<br />

*** ** * ** ***

Options to build a[KotlinMultiplatformAndroidCompilation](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/dsl/KotlinMultiplatformAndroidCompilation)object.

## Summary

|                                ### Public properties                                |
|-------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`?` | [sourceSetTreeName](https://developer.android.com/reference/tools/gradle-api/9.0/com/android/build/api/dsl/KotlinMultiplatformAndroidCompilationBuilder#sourceSetTreeName()) The name of the sourceSet tree that would be used to infer the dependencies between sourceSets. |

## Public properties

### sourceSetTreeName

Added in 8.2.0  

```
var sourceSetTreeName: String?
```

The name of the sourceSet tree that would be used to infer the dependencies between sourceSets. For example, setting the sourceSetTreeName to`test`means that compilation will include the`commonTest`sourceSet, and setting it to`integrationTest`means that the compilation will include the`commonIntegrationTest`sourceSet if exists.

Setting this value to`null`means that this compilation is not part of any sourceSet trees and the kotlin plugin will not include any common test sourceSets in this compilation.  

|                                    See also                                    |
|--------------------------------------------------------------------------------|---|
| `org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension.targetHierarchy` |   |