https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
l

LeoColman

04/23/2019, 1:39 PM
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

gildor

04/23/2019, 1:48 PM
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

LeoColman

04/23/2019, 1:51 PM
But I need to override the kotlin extension, don't I?
g

gildor

04/23/2019, 1:52 PM
no
you check that Kotlin MPP plugin already applied and do not apply JVM one