I have seen this repo/video before, and the build system [here](https://github.com/planetis-m/raylib-game-template/blob/master/build_android.nims) does exactly that using the latest Android NDK/SDK. There is also a [config.nims](https://github.com/planetis-m/raylib-game-template/blob/master/src/config.nims) which is responsible for configuring the right cross-compiler and some more compiler/linker options directly in the module [here](https://github.com/planetis-m/naylib/blob/main/src/raylib.nim#L20-L33) I've spit everything up purposely and it works quite nicely imo. Also it avoids the gradle build system.
Besides mine, a previous attempt was made here: <https://github.com/yglukhov/nimx/blob/master/nimx/naketools.nim> using nake but due to the switch to Nimv2, it's currently broken.
