Skip to content

dot166/jOS_j-lib

Repository files navigation

jLib

how to use it?

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

generateBp

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)

folder structure

j-LIB-core/

gradle library (main code) with AOSP Build Files

lib-example/

example app

aosp/

sources for aosp features that normally be in a vendor or 'sdk' folder

License

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

About

Android common library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •