Get Android library module version number from inside demo app
UseString libVersionName = your.lib.package.name.BuildConfig.VERSION_NAME;
or in your library, just use BuildConfig.VERSION_NAME
to get it.
NB:BuildConfig.VERSION_NAME
in app module is your.app.package.name.BuildConfig.VERSION_NAME