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

Alexandre Brown

12/17/2021, 3:47 PM
Context : I have a root MPP module and many MPP sub modules. Is it possible to define the targets inside in the root module? Thanks
r

russhwolf

12/17/2021, 4:07 PM
It should work if, instead of
kotlin {}
, you do
extensions,getByType<KotlinMultiplatformExtension>().apply {}
. Otherwise gradle doesn't know how to resolve the plugin API.
a

Alexandre Brown

12/17/2021, 4:18 PM
This worked, thanks a lot @russhwolf!
6 Views