• j

    juh juh

    1 month ago
    After building kotlin/multiplatform project via
    gradlew build
    , where can I find generated JS file? I searched all over
    build
    folder but couldn't find any. a lot of build data for JS is generation, but no actual JS file is found, and I get no errors either
    j
    Grégory Lureau
    2 replies
    Copy to Clipboard
  • j

    juh juh

    1 month ago
    How can I pass compiler arguments to all compile targets in kotlin/multiplatform? To be specific, I want to add
    -Xno-param-assertions argument
    to my release builds to remove runtime null assertions for all the arguments
    j
    Oliver.O
    2 replies
    Copy to Clipboard
  • j

    juh juh

    1 month ago
    Hello, I want to know, which data structure should I use in JS target so it will get compiled into a native JS array without extra overhead? Mainly, I need access to push/pop and other js-exclusive array methods
    j
    j
    +2
    9 replies
    Copy to Clipboard
  • c

    Ciaran Sloan

    1 month ago
    I have a few modules in my kmm layer but seem to be having an issue with visiblity in my tests. • I have module
    A
    which contains a
    myFunction()
    function in the
    commonTest
    • Module
    B
    is dependent on module
    A
    but I do not have access to
    myFunction()
    in module Bs
    commonTest
    . It is not available for import. Module
    B
    however does have access to module As classes and functions within
    commonMain
    but the issue seems to be in the
    commonTest
    only. Is this expected? Or how can I ensure that each module that implements module
    A
    also gets access to its public classes and functions within
    commonTest
    ?
    c
    3 replies
    Copy to Clipboard
  • j

    juh juh

    1 month ago
    Are there runtime methods to check which platform code is running on?
    j
    Landry Norris
    +3
    10 replies
    Copy to Clipboard
  • j

    juh juh

    1 month ago
    How do I read files from
    Resources
    folder on Kotlin/Multiplatform? Is there a built-in solution, or do I need to use external library?
    j
    Matthias Geisler
    +1
    4 replies
    Copy to Clipboard
  • Raymond Zeng

    Raymond Zeng

    1 month ago
    Hey folks, our team is looking into DI solutions for multiplatform, with a focus on compile-time solutions (and Koin as a fallback). We've come across Kotlin-Inject and Kinzhal - are there any other libraries that are currently out there that we should take a look into?
    Raymond Zeng
    itnoles
    +3
    9 replies
    Copy to Clipboard
  • kenkyee

    kenkyee

    1 month ago
    wow…that’s amazing…never thought that would happen :android-dance:
    kenkyee
    Sebastian Sellmair [JB]
    2 replies
    Copy to Clipboard
  • s

    Sachinda Liyanaarachchi

    1 month ago
    hello, I have a question related to KMM shared gradle: There is one library that is related to fritz2 but should be added in commonMain dependencies. But when I run ios it is giving me an error. How can I leave this library in commonMain and exclude it when running ios?
    s
    2 replies
    Copy to Clipboard