Skip to content

Commit 6fee9ac

Browse files
committed
Add abiFilters docs for Kotlin buildscripts
1 parent e682c97 commit 6fee9ac

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

sqlite3_flutter_libs/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@ Note that, on Android, this library will bundle sqlite3 for all of the following
2626
If you don't intend to release to 32-bit `x86` devices, you'll need to apply a
2727
[filter](https://developer.android.com/ndk/guides/abis#gc) in your `build.gradle`:
2828

29+
For Kotlin buildscripts (`.gradle.kts`):
30+
31+
```Kotlin
32+
android {
33+
defaultConfig {
34+
ndk {
35+
abiFilters += setOf("armeabi-v7a", "arm64-v8a", "x86_64")
36+
}
37+
}
38+
}
39+
```
40+
41+
Or for Groovy (`.gradle`):
42+
2943
```gradle
3044
android {
3145
defaultConfig {

0 commit comments

Comments
 (0)