Solutions
Multiplatform
Server-side
Data science
Android
Case studies
Docs
Language guide
Multiplatform development
API
APIs overview
Standard library (stdlib)
Test library (kotlin.test)
Coroutines (kotlinx.coroutines)
Serialization (kotlinx.serialization)
Kotlin I/O library (kotlinx-io)
Date and time (kotlinx-datetime)
JVM Metadata (kotlin-metadata-jvm)
Kotlin Gradle plugins
Ktor
Compose Multiplatform Material3
Community
Teach
Play
Playground
Koans
Get started
Kotlin Gradle Plugins API reference
Toggle table of contents
2.4.0
Select version
2.4.0
2.3.0
2.2.0
2.1.20
common
Platform filter
common
Switch theme
Search in API
Kotlin Gradle Plugins API reference
kotlin-gradle-plugin-api
/
org.jetbrains.kotlin.gradle.plugin
/
KotlinHierarchyBuilder
/
Root
/
withSourceSetTree
with
Source
Set
Tree
abstract
fun
withSourceSetTree
(
vararg
tree
:
KotlinSourceSetTree
)
Adds the given
trees
into this descriptor.
See also
source
Set
Trees