https://kotlinlang.org logo
Title
a

ayodele

04/19/2023, 8:47 AM
Guys, is there a flag to only build for simulator?? Currently it targets Arm64 X64 and Simulator
o

Oleksandr Karpovich [JB]

04/19/2023, 8:54 AM
What if you declare only a simulator in build.gradle.kts? https://github.com/JetBrains/compose-multiplatform/blob/master/examples/imageviewer/shared/build.gradle.kts#L18 btw, what’s your use case?
a

ayodele

04/19/2023, 9:08 AM
Just to build faster when developing and testing using only simulator
o

Oleksandr Karpovich [JB]

04/19/2023, 9:10 AM
if this works for you https://kotlinlang.slack.com/archives/C0346LWVBJ4/p1681894490023769?thread_ts=1681894075.974619&cid=C0346LWVBJ4 then you can have a property
fastLocalDevopoment=true
in your local.properties And then use it in a condition to enable/disable targets.