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

EnricCamarero

06/13/2019, 10:49 AM
Hi there! Any idea on why KotlinTargetContainerWithPresetFunctions exposes android() but it won’t work inside the kotlin block of a build.gradle ?
Copy code
Extension with name 'android' does not exist. Currently registered extension names: [ext, kotlin, defaultArtifacts, reporting, sourceSets, java]`
build.gradle
Copy code
plugins {
    kotlin("multiplatform") version "1.3.31"
}

kotlin {
    android()
}
r

ribesg

06/13/2019, 11:46 AM
You’re missing the entire android plugin
e

EnricCamarero

06/13/2019, 12:04 PM
Thanks I’ll try it as soon as I’m back at the office. Btw is there any reference to all this? I feel really lost with the multiplatform kotlin gradle
r

russhwolf

06/13/2019, 1:50 PM
3 Views