You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the moko tasks are generated dynamically depending on your kotlin multiplatform targets. So they are not available when your build script is evaluated. I have a task that creates resources which moko tasks should depend on. However the earliest I can fetch the task is in tasks.whenTaskAdded, but that is already to late to add a dependsOn. Also the generated tasks do not depend on any other tasks, so I cannot add an indirect dependency either. Any ideas to solve this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
the moko tasks are generated dynamically depending on your kotlin multiplatform targets. So they are not available when your build script is evaluated. I have a task that creates resources which moko tasks should depend on. However the earliest I can fetch the task is in tasks.whenTaskAdded, but that is already to late to add a dependsOn. Also the generated tasks do not depend on any other tasks, so I cannot add an indirect dependency either. Any ideas to solve this?
Beta Was this translation helpful? Give feedback.
All reactions