• ptsiogas

    ptsiogas

    8 months ago
    Hi there, has anyone tried to create a KMM module and publish it as a native Android library on maven? My understanding is that this is not possible because of the transitive dependencies that may exists in KMM module. I would like to hear your thoughts.
    ptsiogas
    Paul Woitaschek
    +1
    9 replies
    Copy to Clipboard
  • Javier

    Javier

    8 months ago
    Because latest Kotlin version only needs macOS to publish all targets, this setup is necessary anymore if we are using only macOS for publishing? https://kotlinlang.org/docs/mpp-publish-lib.html#avoid-duplicate-publications
    Javier
    1 replies
    Copy to Clipboard
  • raulraja

    raulraja

    8 months ago
    Hi everyone, I was wondering if there are any plans or what the status of maven support is for KMP. I have noticed many libraries and gradle plugins include their own version of https://github.com/Him188/maven-central-publish/blob/0a7ea56328181adc539b10f392604[…]im188/maven/central/publish/gradle/MavenCentralPublishPlugin.kt
    publishPlatformArtifactsInRootModule
    in order to provide support for KMP artifacts from maven. Currently we are having issues in Arrow and wondering if this is needed or if there is a better way to solve it. Thanks!
    raulraja
    1 replies
    Copy to Clipboard
  • k

    Kaushalya

    8 months ago
    What are your favourite KMM libaries other than SQLDelight?
    k
    Big Chungus
    +7
    18 replies
    Copy to Clipboard
  • ynsok

    ynsok

    8 months ago
    Hi, I want to create KMP project for Android and Desktop, and I Would like to have every feature in different module (modular app). Any suggestions how can I achive it?
    ynsok
    1 replies
    Copy to Clipboard
  • Zahara Vidumshikova

    Zahara Vidumshikova

    8 months ago
    Is there a way to use Gradle modules instead of targets?
    Zahara Vidumshikova
    Big Chungus
    8 replies
    Copy to Clipboard
  • Akram Bensalem

    Akram Bensalem

    8 months ago
    Akram Bensalem
    rnett
    2 replies
    Copy to Clipboard
  • m

    Marko Novakovic

    8 months ago
    KMM project in Android Studio shows
    androidTest
    everywhere. I can't find
    commonTest
    . when I change project view to
    Project
    I can see
    commonTest
    but when I want to run tests am given options:
    android:(testDebugUnitTest)
    and
    android:(testReleaseUnitTest)
    . how to run common tests as plain JVM Kotlin tests?
    m
    e
    +1
    7 replies
    Copy to Clipboard
  • nevardreik

    nevardreik

    8 months ago
    Hello, i’m wondering if someone might be able to assist with a KMM issue im experiencing since upgrading Kotlin from
    1.5.21
    ->
    1.5.30
    … The issue im experiencing is specifically with
    packForXcode
    where Gradle is returning an error messae all of a sudden
    * What went wrong:
    Could not create task ':mobile-shared:packForXcode'.
    > Key releaseFramework is missing in the map.
    I have had a look around online first for solutions, but really can’t see any resolutions or hints to point me in the right direction. Anyone have any ideas? I’ll post my
    packForXcode
    task as a thread comment.
    nevardreik
    Artyom Degtyarev [JB]
    3 replies
    Copy to Clipboard
  • t

    Travis Reitter

    8 months ago
    I can currently build the iOS app that relies upon my KMM module but the Kotlin files in
    iosMain
    , when viewed in Android Studio, have broken syntax highlighting and I get a warning that Kotlin is not configured. If I configure it for the module, I get some extra blocks added to my KMM module's Gradle file (as well as my Android app's Gradle file) which doesn't fix the syntax highlighting in the
    iosMain
    Kotlin files. It also breaks my Android app config and seems to make some other broken configuration (like adding
    classpath(kotlinModule("gradle-plugin", kotlin_version))
    where
    kotlinModule
    can't be resolved) and adding
    androidx-core:core-ktx:+
    and
    stdlib-jdk7
    to my KMM module's dependencies (not just for
    androidMain
    ) What's the proper way to configure Kotlin for
    iosMain
    and fix the syntax highlighting?
    t
    5 replies
    Copy to Clipboard