group 'dev.nimflutter.nimflutter_ffi' version '0.1.0' buildscript { repositories { google(); mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:8.1.0' } } rootProject.allprojects { repositories { google(); mavenCentral() } } apply plugin: 'com.android.library' android { namespace 'dev.nimflutter.nimflutter_ffi' compileSdk 34 defaultConfig { minSdk 21 // Nim emits C; the NDK compiles it. No Nim-side cross-compilation needed. externalNativeBuild { cmake { arguments '-DANDROID_STL=none' } } } externalNativeBuild { cmake { path '../src/CMakeLists.txt' version '3.22.1' } } }