• d

    Darren Bell

    2 years ago
    Hi. Using gradle, how publish the jsJar of a project to a maven repository?
    d
    Robert Jaros
    5 replies
    Copy to Clipboard
  • f

    Friedger

    2 years ago
    Is is possible to get some build version number or so from the gradle build file within the js or common part, like BuildConfig in Android?
    f
    s
    +1
    3 replies
    Copy to Clipboard
  • wuseal

    wuseal

    2 years ago
    Hi, guys? Is there any KMP library for file operating like create file/ delete file/ open file inputstream? If no, then may there KMP library for Desktop only(support MacOSX&Linux&Windows)?
    wuseal
    Giorgos Neokleous
    3 replies
    Copy to Clipboard
  • a

    andrewreitz

    2 years ago
    I’m trying to build for macos and I keep seeing this issue in one of my modules
    e: Compilation failed: Built-in class kotlin.Any is not found
    Any ideas? My other module builds fine and has no issues, so I can’t figure out what could possibly be wrong.
    a
    1 replies
    Copy to Clipboard
  • p

    Peter Hsu

    2 years ago
    I'm having some issues with classes not being packaged into the aar output of my project with submodules. I have a submodule import with
    commonMain {
                dependencies {
                    implementation project(':common-mp')
    Within this project, is an expected class and actual definition for android. When I assemble outputs using :mainModule:assemble, the jar within the aar does not contain the source files from the common-mp project. I've tried 'api' instead of 'implementation', but that doesn't work. Am I missing something obvious?
    p
    1 replies
    Copy to Clipboard
  • a

    Alberto

    2 years ago
    Is reflection handled differently between Android and iOS with Kotlin Multiplatform? Accessing the any member val from KClass returns "Unresolved reference: <name>" when building the iOS variant, but doesn't complain for the Android variant. I've tried also adding the reflect dependency in case.
    a
    Arkadii Ivanov
    +6
    22 replies
    Copy to Clipboard
  • s

    serebit

    2 years ago
    Odd situation I had with some Kotlin 1.3.72 multiplatform code earlier:- Usage of
    MonoClock
    compiles in both common and JVM- Usage of
    Monotonic
    (imported directly from
    TimeSource
    ) compiles in both common and JVM- Usage of
    TimeSource.Monotonic
    compiles in common, but fails in JVM All three scenarios were regarded as acceptable by the IntelliJ Kotlin plugin (version 1.4-M3), but the last one failed to compile regardless.
    s
    ilya.gorbunov
    11 replies
    Copy to Clipboard
  • j

    janvladimirmostert

    2 years ago
    are there any plans to allow kotlinx.serialization to only serialize / deserialize certain fields? Jackson has something like
    @JsonIgnoreProperties
    , maybe a @JsonInclude and @JsonExclude would be nice or something more generic that allows field filtering when serializing / deserializing
    j
    a
    2 replies
    Copy to Clipboard
  • rnett

    rnett

    2 years ago
    Are there any ways or planed ways to add platforms (
    actual
    declarations) for an external library's common code? E.g. have your common module depend on the library's common, and implement it's
    expect
    definitions in your own platform module.
    rnett
    1 replies
    Copy to Clipboard
  • Big Chungus

    Big Chungus

    2 years ago
    How does one setup custom sourceSet publishing? I have js and wasm sourceSets that both depend on browser sourceSet which depends on common sourceSet (also used by jvm). I want all 4 source sets published, but maven-publish ignores browser sourceSet with default settings
    Big Chungus
    Robert Jaros
    4 replies
    Copy to Clipboard