• m

    markusa

    3 years ago
    is there a way to let the multiplatform tests create junit xml results? (not only for jvm)
    m
    Dominaezzz
    2 replies
    Copy to Clipboard
  • Nikky

    Nikky

    3 years ago
    so i am trying to use multiplatform with gradle-kts and for some reason on dependencies block api and implementation seem to be special cases and they work (although only with a single string input, no splitting into group, name, version) and compile or even custom configurations do not work at all using gradle 5.5 and kotlin 1.3.40 the custom configuration is set up in a plugin in buildSrc
    DefaultKotlinDependencyHandler
    seems to not handle things that the nromal dependencies block ca.. or maybe its just the kts bit thats broken ?
    Nikky
    h0tk3y
    2 replies
    Copy to Clipboard
  • kpgalligan

    kpgalligan

    3 years ago
    I’m a little new with the JS side of multiplatform. Running tests with backtick names does not work. Is that just the way I have it configured, or do backtick names need JsName on them?
    kpgalligan
    h0tk3y
    5 replies
    Copy to Clipboard
  • a

    addamsson

    3 years ago
    I'm looking for a library for kotlin common which has persistent data structures and I just bumped into this one: https://github.com/Kotlin/kotlinx.collections.immutable i'm wondering why is this not a multiplatform project? Do any of you have experience with this?
    a
    1 replies
    Copy to Clipboard
  • altavir

    altavir

    3 years ago
    Could you remind me how to add JavaExec task to mutliplatform? I believe it was answered several times, but I forgot again.
    altavir
    Dominaezzz
    7 replies
    Copy to Clipboard
  • m

    Marc Knaup

    3 years ago
    What am I doing wrong if the JVM version attribute is used for resolving dependencies but when publishing the artifact the attribute is unexpectedly absent from the published
    .module
    ?
    jvm {
    	attributes {
    		attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 7)
    	}
    }
    It does work in another multiplatform library which has multiple JVM targets. Update: Got it. It happens if I dare to call
    subprojects { apply<MavenPublishPlugin>() }
    . Is that a bug in MP or Gradle?
    m
    h0tk3y
    3 replies
    Copy to Clipboard
  • Alejandro Rios

    Alejandro Rios

    3 years ago
    Hello Beautiful people, i'm new in this slack, working with Kotlin on Android and it's really cool, recently i was searching about
    Kotlin Native-Multiplatform
    in Medium articles and the page of raywenderlich, can you share please more resources to check?? Thanks
    Alejandro Rios
    Simon Schubert
    2 replies
    Copy to Clipboard
  • c

    Cyrille QUÉMIN

    3 years ago
    Hey guys, kotlin co routine multiplatform mentioned that it is single thread (js style) on native platform. Is it exactly like JS with a delegation principal to a background thread? Or does everything solely run on the main thread ??? If so. Is there a way to "hook" it up to iOS dispatch system in order to have at least one more thread to be able to do computation in the background and updating progress on the main thread for example?
    c
    gildor
    5 replies
    Copy to Clipboard
  • s

    Sergioedcigreja

    3 years ago
    Hello everyone, I'm trying to get a device id from both platforms however I'm having trouble with android. I can't seem to use the android sdk in the androidMain module. I've already set the sdk.dir in local.properties so I don't know if I'm missing something..
    s
    Kris Wong
    +2
    13 replies
    Copy to Clipboard
  • alex.hart

    alex.hart

    3 years ago
    I don’t think you can do this, because the T of MyClass is erased at compile time, isn’t it? What benefit is reification giving you in your suspend fn?
    alex.hart
    f
    3 replies
    Copy to Clipboard