Closed Abhimanyu14 closed 1 year ago
Duplicate of https://github.com/mikepenz/AboutLibraries/issues/865 https://github.com/mikepenz/AboutLibraries/issues/858
I have opened a new issue as I don't find the resolution there
On which platform are you trying to use it?
Android or on a different platform?
Is the gradle plugin correctly applied to the module?
Do you see the generated data by the plugin in: build/generated/aboutLibraries
?
Platform : Android
libs.versions.toml
[versions]
about-libraries = "10.8.3"
[libraries]
#about libraries
about-libraries-core = { group = "com.mikepenz", name = "aboutlibraries-core", version.ref = "about-libraries" }
about-libraries-compose = { group = "com.mikepenz", name = "aboutlibraries-compose", version.ref = "about-libraries" }
[plugins]
about-libraries = { id = "com.mikepenz.aboutlibraries.plugin", version.ref = "oss-licenses" }
Project build.gradle
plugins {
alias libs.plugins.about.libraries
}
Feature build.gradle
dependencies {
// About libraries
implementation libs.about.libraries.core
implementation libs.about.libraries.compose
}
Project repo link - https://github.com/Abhimanyu14/finance-manager
I don't find a build/generated/aboutLibraries
package.
Will try adding the dependency in app
module as well to see if that is required.
Looks your app module does not apply the plugin: https://github.com/mikepenz/AboutLibraries/blob/develop/app/build.gradle#L5 ?
The plugin needs to be applied so it can hook up with the android build steps.
If you would prefer it not running automatically you can run it manually via cli
and add the output to your SCM. (Make sure to pass the file to the LibraryContainer
in that case.
That's for example done in the desktop app sample: https://github.com/mikepenz/AboutLibraries/blob/develop/app-desktop/README.md
Thank You. It works with this change.
About this issue
I am trying to use this library.
I am getting this error
Complete Error
Code used (Copied from the library app module)
Details
Checklist