• kpgalligan

    kpgalligan

    3 years ago
    I have some questions for the JB team with regards to gradle and metadata. On the native side, as far as I know, to publish gradle dependencies we need to use the metadata feature. This is problematic because it is new and not yet stable, so different versions of gradle (and by extension metadata) are incompatible. The concrete manifestation of this is that most examples and as far as I know all JB libraries are published with 4.7. Android gradle 3.3 needs 4.10, which has a breaking version of metadata. It seems that the native side is continuing with the metadata approach (here: https://github.com/JetBrains/kotlin-native/commit/f68f7028b10ce6f8cd195faaee2c78fd8432ddf1), but that that isn't a universal plan (here: https://github.com/Kotlin/kotlinx.coroutines/issues/564#issuecomment-427885994). The ability to publish dependencies in a predictable way is critical for adoption, so I'm wondering about plans in the near term (continued in thread...)
    kpgalligan
    i
    7 replies
    Copy to Clipboard
  • kenkyee

    kenkyee

    3 years ago
    Gradle 5.0 was just released too FYI
    kenkyee
    kpgalligan
    2 replies
    Copy to Clipboard
  • j

    janvladimirmostert

    3 years ago
    is it possible to publish multiplatform libraries (for example, one that compiles to JS and Native) to mavenLocal ?
    j
    russhwolf
    2 replies
    Copy to Clipboard
  • a

    addamsson

    3 years ago
    Is it possible to generate javadocs pages from multiplatform projects (using
    kotlin-multiplatform
    plugin) using Dokka?
    a
    1 replies
    Copy to Clipboard
  • pajatopmr

    pajatopmr

    3 years ago
    I have a project targeting JVM and Native where I want to “expect” a File and then typealias the actual but I am beginning to think this might not be possible. How might I accomplish my goal of using the name “File” in both common and JVM code?
    pajatopmr
    t
    +3
    23 replies
    Copy to Clipboard
  • b

    benleggiero

    3 years ago
    Kotlin/JVM has
    @Throws
    . Does Kotlin/JS have something like that?
    b
    gildor
    +1
    13 replies
    Copy to Clipboard
  • kpgalligan

    kpgalligan

    3 years ago
    Are there any good tutorials on multiplatform, specifically for native mobile? I'm sort of really deep in the weeds on it, and am trying to bring some of the team up to speed and realizing how much needs to be explained.
    kpgalligan
    russhwolf
    +5
    22 replies
    Copy to Clipboard
  • menegatti

    menegatti

    3 years ago
    more specifically, is there a way to get the current system time, such as in
    System.getCurrentTimeMillis()
    ?
    menegatti
    cy
    +5
    12 replies
    Copy to Clipboard
  • menegatti

    menegatti

    3 years ago
    2nd question of the day... I know I can use ktor as a client for Android and iOS, but what about other native platforms? Maybe have an interface
    Api
    in
    common
    , an implementation of it based on Ktor in
    mobileCommon
    and something else for windows?
    menegatti
    cy
    +1
    16 replies
    Copy to Clipboard
  • menegatti

    menegatti

    3 years ago
    Hey guys, I'm having a bit with issue with adding a kotlinJs module to my project, mostly due to gradle not being able to find dependencies
    menegatti
    4 replies
    Copy to Clipboard