• a

    Andy Gibel

    2 years ago
    is anyone using OpenAPI Swagger codegen in a KMPP project?
    a
    kpgalligan
    +1
    12 replies
    Copy to Clipboard
  • s

    Sylvain Patenaude

    2 years ago
    When targeting Android, is it preferred to use 'jvm' or 'android' as a target? From what I've read, 'jvm' seems to do the job, so any need to go native with the 'Android' target?
    s
    d
    +1
    6 replies
    Copy to Clipboard
  • t

    Tony

    2 years ago
    in kotlin native, can we use NSURL for the network stack? (trying to find ktor alternative)
    t
    olonho
    +1
    11 replies
    Copy to Clipboard
  • kpgalligan

    kpgalligan

    2 years ago
    Anybody have a reasonably current post on deploying with bintray?
    kpgalligan
    s
    +3
    14 replies
    Copy to Clipboard
  • b

    bod

    2 years ago
    Hello, World! I'd like to generate a small file and include it to the common sourceset. In 'normal' (non multiplatform) projects, I have been doing this this way:
    // Create a Version.kt file and add it to the source set
    task generateSources {
        def outputDir = file("$buildDir/generated/source/kotlin")
        outputs.dir outputDir
        doFirst {
            def outputWithPackageDir = new File(outputDir, "com/example/mylib")
            outputWithPackageDir.mkdirs()
            new File(outputWithPackageDir, "Version.kt").write("package com.example.mylib\ninternal const val VERSION = \"$project.version\"")
        }
    }
    compileKotlin.dependsOn generateSources
    compileKotlin.source += generateSources.outputs.files
    But that doesn't work in my multiplatform module. I've tried to replace
    compileKotlin
    by
    compileKotlinCommon
    but doesn't work either. Ideas?
    b
    h0tk3y
    4 replies
    Copy to Clipboard
  • s

    sngrekov

    2 years ago
    Are there any MPP libraries with implementation for Queue, Stack and Deque?
    s
    a
    2 replies
    Copy to Clipboard
  • a

    Alexander Minyaev

    2 years ago
    Hello! How to connect mpp-module to js-module? Description my problem here:https://stackoverflow.com/questions/58677550/how-to-connect-multiplatform-module-to-js-module-with-gradle
    a
    e
    2 replies
    Copy to Clipboard
  • Jérôme Gully

    Jérôme Gully

    2 years ago
    Hi, I plan to participate to the Github annual Game Jam, and with my team we want to try Kotlin multi-platform to make the game running on Android, iOS and Web. I'm a bit lost about the way to create and configure the project into intellij, betweens Multiplatform library or mobile Android/iOS. The first is just a shared library and the other seems to generate the project for android and ios (very nice, but can I add web too ?)
    Jérôme Gully
    Dico
    4 replies
    Copy to Clipboard
  • d

    Dmitri Sh

    2 years ago
    What's the status on watchOS target? Looks like 1.3.60 will support it (https://github.com/JetBrains/kotlin-native/blob/671da8181cb729dca449cc597dc6c89d4f429b73/CHANGELOG.md) ? Will there be a sample project published?
    d
    m
    +1
    7 replies
    Copy to Clipboard
  • hallvard

    hallvard

    2 years ago
    Is there a known problem with defining extension functions within files that have expect/actual stuff? I get a
    Duplicate JVM class name
    error from gradle when trying to build (and if I move my extension function to a file that has no
    expect
    functions, everything is hunky dory).
    hallvard
    kpgalligan
    +2
    11 replies
    Copy to Clipboard