Skip to content

Proof of concept of AAR packaging of SQLCipher for Android

Notifications You must be signed in to change notification settings

sunglee413/sqlcipher-gradle

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository is a proof of concept of packaging SQLCipher for Android as an AAR Maven artifact via Gradle for Android.

This is totally unofficial and exists solely as a vehicle for potentially helping the SQLCipher for Android project start making their binaries available for consumption via Gradle, such as for Android Studio.

The build.gradle file is hereby released to the public domain. Everything else in this repository is from the SQLCipher for Android project and is subject to that project's license terms.

The build.gradle file uses an unofficial android-maven plugin that is AAR-aware. Running gradle install will install this to your local Maven repository for consumption in another project. That project would need stuff like this in its build.gradle:

To use that, add the following blocks to your build.gradle file:

repositories {
    mavenLocal()
    // note: use url "${System.env.HOME}/.m2/repository" if mavenLocal() does not work for you due to bug in Gradle 1.9
}

dependencies {
    compile 'net.sqlcipher:sqlcipher-gradle:3.0.1'
}

About

Proof of concept of AAR packaging of SQLCipher for Android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published