I have a use-case where I want to invoke some functions that are written in Scala Object to be called from a kotlin file or Kotlin class. I am not finding anyway how to do it. I see that if the Scala is compiled ones separately then it gets called by the main in Kotlin file. But otherwise, it does not gets called.
Can someone here please help me how can this be done?