In one of it's submodules, I'm trying to apply the...
# multiplatform
l
In one of it's submodules, I'm trying to apply the kotlin-mpp plugin, but it fails saying that kotlin extension is already declared. What can I do to use the mpp plugin only on the submodule, without changing how the
subprojects
is configured?
g
only by skipping application of JVM plugin, for example by name
or by checking if extension with name “kotlin” already present
1
or if plugin is present
l
But I need to override the kotlin extension, don't I?
g
no
you check that Kotlin MPP plugin already applied and do not apply JVM one