• ankushg

    ankushg

    4 years ago
    Is the new MPP plugin considered part of Kotlin 1.3-RC, or is it independent from it?
    ankushg
    orangy
    2 replies
    Copy to Clipboard
  • a

    alec

    4 years ago
    is it possible to publish klib's with the new MPP plugin?
    a
    1 replies
    Copy to Clipboard
  • a

    alec

    4 years ago
    in particular for iOS arm/x64 architectures
    a
    1 replies
    Copy to Clipboard
  • f

    fabianterhorst

    4 years ago
    Im not able to get kotlin native library to build with latest mpp 1.3.0-rc-57
    Could not resolve all files for configuration ':common:iosArm64CompileKlibraries
    Could not resolve org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.8.0-rc13.
      Required by:
          project :common
       > Unable to find a matching configuration of org.jetbrains.kotlinx:kotlinx-serialization-runtime-native:0.8.0-rc13:
     Configuration 'debugIos_arm64Link':
               - Found org.gradle.native.debuggable 'true' but wasn't required.
    .
    f
    Liliia
    +1
    11 replies
    Copy to Clipboard
  • h

    hmole

    4 years ago
    Does anyone have a working example with new multiplatform plugin and ios app/test? After lot of struggle I got to a point where xcode compiles and links everything, but when I run the test I get
    Library not loaded: @rpath/MyFramework.framework/MyFramework
    Nvm it's working. Just don't use tests and add the framework through
    Embedded binaries
    if anyone across this issue
    h
    t
    +1
    5 replies
    Copy to Clipboard
  • ankushg

    ankushg

    4 years ago
    Does the new KMPP plugin support dead code elimination for JS source sets? Haven't been able to find an example that uses it and I don't see any tasks involving DCE when I run
    ./gradlew tasks
    ...
    ankushg
    Liliia
    7 replies
    Copy to Clipboard
  • ankushg

    ankushg

    4 years ago
    Also, in this sample: https://github.com/h0tk3y/k-new-mpp-samples/tree/master/lib-with-tests
    ./gradlew jsTest
    doesn't actually run any tests for JS. It looks like it spits out a file into
    build/classes/kotlin/js/test/lib-with-tests_test.js
    , but the report in
    build/reports/tests/jsTest/index.html
    says 0 tests run. Is there a working sample with the new MPP plugin where the JS tests are set up to actually run?
    ankushg
    1 replies
    Copy to Clipboard
  • h

    hmole

    4 years ago
    Can I depend on artifacts published with old multiplatform structure in my
    kotlin-multipplatform
    module?
    h
    Liliia
    9 replies
    Copy to Clipboard
  • rudolf.hladik

    rudolf.hladik

    4 years ago
    Hello, is there any guide, how to create this (https://github.com/JetBrains/kotlin-mpp-example) kind of project from scratch? I’ve tried to follow this https://github.com/JetBrains/kotlin-native/blob/master/MULTIPLATFORM.md but with no success especially wiring common/shared module as framework to new xcode project. Also I’ve seen different project structures, one with common module at root of project with three source sets for common, common-platform-ios, common-platform-android and the other one with three seperate modules for common, common-platform-ios, common-platform-android. Problem is, it is hard to find out which build.gradle settings and dependencies are for which source set.
    rudolf.hladik
    t
    +1
    5 replies
    Copy to Clipboard
  • t

    thevery

    4 years ago
    I know there is no reflection support to js and native, but is there any way to implement dynamic proxy? I want to create something like https://github.com/square/retrofit for common code (Android+iOS)
    t
    d
    +3
    15 replies
    Copy to Clipboard