macosX64Main
abstract val NamedDomainObjectContainer<KotlinSourceSet>.macosX64Main: NamedDomainObjectProvider<KotlinSourceSet>
Static accessor for the main Kotlin Source Set of macosX64 target. Declare macosX64 target to access this source set. If macosX64 target wasn't declared, accessing this source set will cause a runtime error during configuration time.
Sample:
kotlin {
macosX64() // Target is declared, macosX64Main source set is created
sourceSets {
macosX64Main.dependencies {
// Add macosX64Main dependencies here
}
}
}
Content copied to clipboard
Since
2.0.20