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

Kris Wong

07/25/2019, 6:01 PM
has anyone figured out how to
apply plugin: 'kotlin-android'
in a MPP library?
Failed to apply plugin [id 'kotlin-android']
> Cannot add extension with name 'kotlin', as there is an extension already registered with that name.
got it... that plugin is not necessary, but you can still
Copy code
apply plugin: 'kotlin-android-extensions'
m

mbonnin

07/25/2019, 6:03 PM
yea, it works with the multiplatform plugin
k

Kris Wong

07/25/2019, 6:03 PM
yeah definitely confusing
m

mbonnin

07/25/2019, 6:03 PM
org.jetbrains.kotlin.multiplatform
k

Kris Wong

07/25/2019, 6:05 PM
m

mbonnin

07/25/2019, 6:06 PM
yep, that looks good
k

Kris Wong

07/25/2019, 6:06 PM
compiler agrees 😃
👍 1
3 Views