Solutions
Multiplatform
Backend
Android
Case studies
Docs
Language guide
Multiplatform development
API
APIs overview
Standard library
Test library
Coroutines
Serialization
Kotlin I/O library
Date and time
Collections Immutable
JVM Metadata
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
/
group
group
abstract
fun
group
(
name
:
String
,
build
:
KotlinHierarchyBuilder
.
(
)
->
Unit
=
{}
)
Creates a group of
KotlinSourceSets
with the given
name
and structure provided via the
build
block.
See also
common