dependencies
open fun NamedDomainObjectProvider<KotlinSourceSet>.dependencies(handler: KotlinDependencyHandler.() -> Unit)
Configure KotlinSourceSet dependencies with handler code block.
Sample:
kotlin {
jvm()
iosX64()
iosArm64()
sourceSets {
commonMain.dependencies {
api("org.jetbrains.kotlinx:kotlinx-coroutines-core")
}
}
}
Content copied to clipboard
Since
1.9.20