• uli

    uli

    1 year ago
    Hi All, i would appreciate your comments on my dev.to post before I publish. Feel free to reply here or to PM me. Thanks alot.https://dev.to/uluckas/the-future-of-cross-platform-development-kotlin-multiplat[…]7a586399465a9ca6bd43456a6ee942998c3b783a6a94f37aa6910541dee0b49b2 I hope this is the right channel. If not, please let me know.
    uli
    Alejandro Rios
    2 replies
    Copy to Clipboard
  • Arkadii Ivanov

    Arkadii Ivanov

    1 year ago
    In my Decompose library, I see that starting from Kotlin version
    1.4.20
    the
    maven-publish
    plugin uploads
    jar
    files for root packages (named without any a suffix). But there is no
    sources.jar
    uploaded. As a result I can't enable JCenter sync, since sources are mandatory for packages with
    jars
    . E.g. this package has a
    jar
    file but does not have
    sources.jar
    file: https://dl.bintray.com/arkivanov/maven/com/arkivanov/decompose/decompose/0.1.4/ But e.g. this coroutines package has everything: https://jcenter.bintray.com/org/jetbrains/kotlinx/kotlinx-coroutines-core/1.4.2/ Questions:1. Why there is no
    jar
    files uploaded for this package prior to Kotlin 1.4.20? (e.g. here). If there is no
    jar
    then it's ok to not have
    sources.jar
    . 2. Why there is no
    sources.jar
    uploaded in this case. Sources are uploaded fine for other non-root packages, e.g. the decompose-jvm.
    Arkadii Ivanov
    Shan
    2 replies
    Copy to Clipboard
  • a

    Amritansh

    1 year ago
    Is there a way to have concurrentHashMaps in Kotlin Native? I tried wrapping MutableMap in AtomicReference but that doesn't look like a good solution to me as there are cases in which it might not work
    a
    Dominaezzz
    3 replies
    Copy to Clipboard
  • o

    Ola Adolfsson

    1 year ago
    Hi regarding https://youtrack.jetbrains.com/issue/KT-43237, are there more people affected? In our case we need to do a somewhat orthodox workaround renaming the imports to the affects js libs. “KJS:
    -jsLegacy
    Naming Convention is incompatible with NPM
    Libraries such as 
    kotlinx.serialization
     are exporting artifacts with a 
    -jsLegacy
     suffix when using the legacy compiler with Kotlin 1.4. NPM however, doesn’t allow capital letters in package names.”
    o
    Patrick Doering
    +3
    16 replies
    Copy to Clipboard
  • e

    Eugeny Sentsov

    1 year ago
    Hi! Does anyone know if there is a way to implement this idea https://github.com/JetBrains/kotlin-native/issues/2423#issuecomment-491252243 ? Like to have a multiplatform module built into a set of frameworks (one for each api dependency)
    e
    Javier
    +1
    4 replies
    Copy to Clipboard
  • Jeff

    Jeff

    1 year ago
    Anyone facing this error when updating multiplatform project to: Android Studio Artic Fox | 2020.3.1 Canary 3 Gradle version: gradle-6.8-rc-4-bin.zip Gradle plugin: 7.0.0-alpha03
    A problem occurred configuring project ':shared'.
    > Configuration with name 'testApi' not found.
    
    * Try:
    Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Exception is:
    org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':shared'.
    	at..........
    Jeff
    t
    5 replies
    Copy to Clipboard
  • r

    rb90

    1 year ago
    Hi all, I am a Kotlin beginner and I decided to play a little bit around with Kotlin Multiplatform. I am looking for a way to version a shared module - so I started think about using jfrog artifactory for that purpose. Did anyone of you already upload a Kotlin Multiplatform shared module to artifactory an consume it from there?
    r
    Kris Wong
    18 replies
    Copy to Clipboard
  • Jakob K

    Jakob K

    1 year ago
    Hey, I want to use the kotlin multiplatform plugin for gradle within a precompiled plugin (inside of the buildSrc folder) - but it does not work. Does this really just not work or is there a problem inside of my gradle script files?
    Jakob K
    Javier
    39 replies
    Copy to Clipboard
  • Scott Whitman

    Scott Whitman

    1 year ago
    I am working on a library using KMP.
    KClass.objectInstance
    doesn't seem to be available on JS or Native, only JVM. Are there any workarounds or libraries that I can use with expext/actual to accomplish something similar to
    T::class.objectInstance
    Scott Whitman
    Mustafa Ozhan
    +1
    7 replies
    Copy to Clipboard
  • m

    Md Hanif

    1 year ago
    Hi I am learning KMM and got confused how to set our base url in our shared module according to the build variants(development, production etc). I can't access
    BuildConfig
    which we have in out android projects.
    m
    j
    +1
    9 replies
    Copy to Clipboard