Skip to content

Can support KMP (kotlin Multiplatform ) #2

@CMingTseng

Description

@CMingTseng

Dear Sir

thx your plugin

now i try kotlin Multiplatform at JVM (Desktop)

as this post https://medium.com/@adman.shadman/kmp-native-c-c-a7b62e4e9c1f & git https://github.com/shadmanadman/KMP-TinyExpr

the deskop JNI must use CLI -- like :

"clang -dynamiclib -o libtinyexpr_jni.dylib include/tinyexpr.c tinyexpr_jni.c -I"$JAVA_HOME/include" -I"$JAVA_HOME/include/darwin""

can let your plgin do this ? like Android

ndk {
abiFilters.addAll(listOf("linux", "mac", "win"))
}

externalNativeBuild {
cmake {
path = file("native/CMakeLists.txt")
version = "3.18.1"
}
}

THX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions