Model mapping: add toString implementation for legacy-mapped variants
This commit is contained in:
+2
@@ -31,6 +31,8 @@ import org.jetbrains.kotlin.project.model.KotlinModuleFragment
|
|||||||
internal open class LegacyMappedVariant(
|
internal open class LegacyMappedVariant(
|
||||||
internal val compilation: KotlinCompilation<*>,
|
internal val compilation: KotlinCompilation<*>,
|
||||||
) : KotlinGradleVariant {
|
) : KotlinGradleVariant {
|
||||||
|
override fun toString(): String = "variant mapped to $compilation"
|
||||||
|
|
||||||
private val fragmentForDefaultSourceSet =
|
private val fragmentForDefaultSourceSet =
|
||||||
(compilation.defaultSourceSet as FragmentMappedKotlinSourceSet).underlyingFragment
|
(compilation.defaultSourceSet as FragmentMappedKotlinSourceSet).underlyingFragment
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user