to use jLib in an android app that is built using gradle add the following lines to your apps build.gradle
dependencies {
implementation "io.github.dot166:j-Lib:v104.0.7"
}
if you are including jLib in another android library that is built using gradle add the following lines to your libraries build.gradle
dependencies {
api "io.github.dot166:j-Lib:v104.0.7"
}
to use jLib in an AOSP Project add the module j.Lib to the static_libs section of your Android.bp file
if your app uses the generateBp Plugin to automatically add the dependencies for AOSP builds from gradle build files (like jLib uses), you would need to use my fork of generateBp due to jLib using j.Lib as the AOSP dependency name.
to do that change the maven repo line to be dot166/gradle-generatebp and change the version number to 1.31.1 (or whatever the latest version of my fork is)
gradle library (main code) with AOSP Build Files
example app
sources for aosp features that normally be in a vendor or 'sdk' folder
see LICENSE
NOTICE: There is code in jLib that are from other projects, Those files are licenced under the licence from their respective projects, the files, projects and licences are listed below.
sensitive-pn is adapted from LineageOS, see aosp/sensitive-pn/readme.md for more information