I am trying to create an `androidMain` equivalent ...
# gradle
j
I am trying to create an
androidMain
equivalent to
commonMain
The import is not showing errors, but when I try to sync gradle, it fails indicating that
kotlin
and
KotlinSourceSet
from the package import is an unresolved reference.
Copy code
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet

val NamedDomainObjectContainer<KotlinSourceSet>.androidMain: NamedDomainObjectProvider<*>
    get() = named("androidMain")