I'm open-sourcing my tool to showcase all the open-source libraries that your project uses with a single line of code.
Honestly speaking I don't like the way the open-source libraries are displayed in projects and I would like to create a better exposure of libraries and more info for the users/developers to act on it.
I personally use this library to list the projects/libraries that my app use to the users so that they can view and even use these projects in their app.
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
implementation 'com.github.codekidX:osslib-android:0.0.1'
This library works in 2 steps and 1 line of code:
- Generate
osslib.json
contents by using osslib-web generator. Look at working here. - Click on copy to clipboard option and save it as
osslib.json
into your project assets folder.
startActivity(Intent(this@MainActivity, OSSLActivity::class.java))
startActivity(new Intent(this, OSSLActivity.class))
And it will show you a screen like this
Easy right?!