This is a shared native SQLite library used for Couchbase Lite Java.
$ git clone https://github.com/couchbase/couchbase-lite-java-native.git
- Linux (x86, x86_64, amd64)
- Windows (x86, x86_64)
- OSX (x86, x86_64)
The project is using Gradle to build and package the native binaries into a jar file (See Gradle Building native binaries for more info). The packaged jar file will be located in build/libs folder.
$ gradlew clean
$ gradlew build
- To build the x86 binary on a 64-bit machine, you will need to setup a 64-bit toolchain as follows.
$ sudo apt-get install gcc-multilib
$ sudo apt-get install g++-multilib
- Visual Studio 2013 or later is required.
- Note: If you have problem with VS 2015, check Build on Windows with Visual Studio 2015.
- Command Line Tools for Xcode is required. You may download the Command Line Tools from the Apple Developer website.