-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathREADME.sqlite3
More file actions
37 lines (28 loc) · 879 Bytes
/
README.sqlite3
File metadata and controls
37 lines (28 loc) · 879 Bytes
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
27
28
29
30
31
32
33
34
35
36
37
=======
Sqlite3
=======
This is the procedure to get / upgrade the SQLite source code
Get the code
------------
```
wget -O sqlite-android-dfed6feb2b1a71eb.zip 'http://www.sqlite.org/android/zip/SQLite+Android+Bindings.zip?uuid=dfed6feb2b1a71eb'
unzip sqlite-android-dfed6feb2b1a71eb.zip
```
Vendor
------
```
# Disable the unneeded extensions
sed -iE '/DSQLITE_ENABLE_(RTREE|JSON1|FTS3)/d' SQLite_Android_Bindings/sqlite3/src/main/jni/sqlite/Android.mk
# Copy files
rm -rf sqlite3
mv SQLite_Android_Bindings/sqlite3 ./
rm -rf sqlite3/src/androidTest
# Clean temporary files
rm -rf sqlite-android-dfed6feb2b1a71eb.zip
rm -rf SQLite_Android_Bindings
# Remove unneeded resources
rm sqlite3/src/test/java/org/sqlite/database/ExampleUnitTest.java
```
Other steps:
* Add `namespace 'org.sqlite.database'` to `sqlite3/build.gradle`
* move from `jcenter()` to `mavenCentral()`