nandi/vflutter_ffipublic Fork 0
main
Commits
Clone
git clone https://git.rickub.com/nandi/vflutter_ffi.git
git clone ssh://git@rickub.com/nandi/vflutter_ffi.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Initial commit: V -> Flutter FFI plugin ad0ccda · on main · nandi · 4h ago
build.gradle · 26 lines · 687 BGroovy Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
group 'dev.vflutter.vflutter_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.vflutter.vflutter_ffi'
    compileSdk 34
    defaultConfig {
        minSdk 21
        // V emits C; the NDK compiles it. No V-side cross-compilation needed.
        externalNativeBuild { cmake { arguments '-DANDROID_STL=none' } }
    }
    externalNativeBuild {
        cmake {
            path '../src/CMakeLists.txt'
            version '3.22.1'
        }
    }
}