invoke
open operator fun NamedDomainObjectProvider<KotlinSourceSet>.invoke(configure: KotlinSourceSet.() -> Unit)
Configure KotlinSourceSet provider with configure code block.
Sample:
kotlin {
iosX64()
iosArm64()
sourceSets {
nativeMain { /* this: KotlinSourceSet */
kotlin.srcDir("src/native")
}
}
}
Content copied to clipboard
Since
1.9.20