• kpgalligan

    kpgalligan

    4 years ago
    kpgalligan
    t
    +5
    32 replies
    Copy to Clipboard
  • r

    r4zzz4k

    4 years ago
    Is it expected that
    runtimeClasspath
    configurations for JVM targets doesn't contain actual compilation output, only dependencies? The only way I was able to use
    application
    plugin is as follows:
    tasks.findByName("run").configure {
        classpath = kotlin.targets.jvm.compilations.main.output + project.configurations.jvmRuntimeClasspath
    }
    (
    jvm
    target is, of course, created like this:
    fromPreset(presets.jvm, 'jvm')
    )
    r
    Liliia
    +1
    7 replies
    Copy to Clipboard
  • j

    jw

    4 years ago
    how can I change the artifactId of artifacts in the new multiplatform module? it seems to use the project name and there's no way to override it except to manually set the artifactId on each publication which is error-prone because you have to manage the automatically-added suffixes yourself
    j
    orangy
    +1
    3 replies
    Copy to Clipboard
  • h

    hmole

    4 years ago
    How can I write platform native code for multiple targets?
    nativeCommonMain
    source set isn't resolving imports from stdlib-native. Only specific targets like iosX64/iosArm64 work. Idea
    2018.2.4
    Kotlin
    1.3.0-rc-116
    h
    Liliia
    4 replies
    Copy to Clipboard
  • f

    fabianterhorst

    3 years ago
    Is there already an fix for the kotlinx serialization and kotlin native mpp incompatibility?
    f
    kpgalligan
    +2
    40 replies
    Copy to Clipboard
  • f

    felipecsl

    3 years ago
    by common I mean specifically
    kotlin-platform-common
    f
    elizarov
    +1
    5 replies
    Copy to Clipboard
  • t

    thevery

    3 years ago
    With new mpp plugin, how to enable both
    iosArm64
    and
    iosArm32
    in one config? Or probably even all 3 with iosX64.
    t
    f
    +3
    13 replies
    Copy to Clipboard
  • j

    Jaroslav

    3 years ago
    Is there a way to have support for ios part of the project in IntelliJ IDEA CE? atm if i implement
    actual
    object it complains that there is no expected part found. Android part works fine
    j
    t
    4 replies
    Copy to Clipboard
  • Hamza

    Hamza

    3 years ago
    i have a tiny question regarding the documentation and the nature of the multiplatform way of working.https://kotlinlang.org/docs/reference/multiplatform.html if i create an expect function in the common code, and an actual in the JVM, from the JVM, can i also expect the actual function to exist, ergo call the actual function, which is in the JVM from JavaScript?
    Hamza
    h0tk3y
    +1
    6 replies
    Copy to Clipboard
  • hallvard

    hallvard

    3 years ago
    I am struggling to port some older code from a jvm-only project to combined jvm/js. One of my classes was extending java.util.HashMap, which is now impossible, of course, as the kotlin HashMap is a final class. Seems I have two options: 1) implement Map and add
    entries()
    ,
    keys()
    ,
    size()
    ,
    containsKey()
    etc or 2) remove class inheritance and reduce the map to a backing field. Or did I miss something? (Hoping so. Would like to change as little as possible.)
    hallvard
    oshai
    +1
    5 replies
    Copy to Clipboard