shared
Absolute Gradle path of the KMP project that owns generated commonMain source, for example ":shared" or ":core:shared".
Default: the single project that applies Kotlin Multiplatform. Two or more candidates is a hard error that lists them and asks for this value.
Detection resolves once every project has been evaluated, which is the earliest point the count is known.
Throws
Gradle Exception
during configuration when a shared-scoped feature is enabled and the path is missing, names a project that does not exist, or names one that does not apply Kotlin Multiplatform.