65fa2f62bd
These tasks did copy all files from build to build/nativelibs, thus causing up-to-date checks to fail, and native libs and temporary build files to be accumulated in recursive directories like nativelibs/nativelibs/... in both build dirs and dist. Fix this by copying only relevant files.
Kotlin-native interop
Usage
Create file ../gradle.properties with contents:
llvmInstallPath=/path/to/llvm
Create a Gradle subproject somewhere under ../, using ../InteropExample as a template.
To generate the interop stubs and libraries and build all sources you can run
the following command from ../:
./gradlew InteropExample:build
To run the example (if 'application' plugin is enabled):
./gradlew InteropExample:run