| Initial commit: V -> Flutter FFI plugin ad0ccda nandi 10h ago | 1 | group 'dev.vflutter.vflutter_ffi' |
| 2 | version '0.1.0' |
| 3 | |
| 4 | buildscript { |
| 5 | repositories { google(); mavenCentral() } |
| 6 | dependencies { classpath 'com.android.tools.build:gradle:8.1.0' } |
| 7 | } |
| 8 | rootProject.allprojects { repositories { google(); mavenCentral() } } |
| 9 | |
| 10 | apply plugin: 'com.android.library' |
| 11 | |
| 12 | android { |
| 13 | namespace 'dev.vflutter.vflutter_ffi' |
| 14 | compileSdk 34 |
| 15 | defaultConfig { |
| 16 | minSdk 21 |
| 17 | // V emits C; the NDK compiles it. No V-side cross-compilation needed. |
| 18 | externalNativeBuild { cmake { arguments '-DANDROID_STL=none' } } |
| 19 | } |
| 20 | externalNativeBuild { |
| 21 | cmake { |
| 22 | path '../src/CMakeLists.txt' |
| 23 | version '3.22.1' |
| 24 | } |
| 25 | } |
| 26 | } |