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

darkmoon_uk

10/17/2019, 7:54 AM
I read that the Multiplatform Plugin is supposed to compile only the targets requested of it, but Gradle is consistently building the (irrelevant) iOS Framework target, while building a depending Android project. 🐢 ⏱️ The Android project itself is not multiplatform - do I need to specify in the project dependency to only build the Android target?
b

Big Chungus

10/17/2019, 8:10 AM
It depends on your setup. If you have each platform under a separate module, building root module will build all submodules. However if you have each platform under a sourceSet, it should only build relevant sourceSets.
d

darkmoon_uk

10/17/2019, 12:35 PM
🤔 It's under source-set, and yet, it still builds iOS unnecessarily, every time (framework is not a short build either...).
k

Kris Wong

10/17/2019, 1:07 PM
i have not observed that issue with my projects