You can add the androidNative* targets to your build.gradle.kts and create corresponding source sets (I’d create an androidNdkMain source set and add the others as dependsOn). This will allow you to build the binaries for android ndk. From there, there’s not a good gradle way to automatically build and move them, so I usually copy a gradle task I wrote a while back.