-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Square Libs missing #15
Comments
Which square libraries specifically? Also, if they are missing, it must be because their license is missing in the POM.xml file. |
Maybe the plugin should show warnings for missing licenses on generating the report. Also It would be nice to provide some way to set license for this "missed" dependencies. |
@Tapchicoma I can create an issue for the warnings. For the missing dependencies, you can edit the |
Editing the json file is not so nice solution, as it requires manual work afterwards. Then it will be an irritating job to change any dependency. I prefer fully automatic way - configure once and forget, because it just works. IMHO there should be a way to do it though configuration, either providing some file in extension or some other way. This file should contain mapping to this missing dependencies. |
@Tapchicoma Sort of like a "default" or "fallback"? |
More like a fallback: when plugin can't figure out dependency info, then it should look for it in this "mapping file". |
@Tapchicoma Should the mapping file be included in the plugin? |
@jaredsburrows probably no, just to point in README that there is such possibility. Every project has it own set of dependencies and also it will be easier to maintain the plugin itself. |
What would this feature look like? How would it work? If a license is missing, default to Apache 2.0? |
In case of missing license plugin should write warning in gradle output. Optionally: add plugin extension flag that, when enabled, will fail the build on missing license. |
I have added logging for developers to show which dependencies are missing POM data. For example:
Source: https://github.com/jaredsburrows/android-gif-example |
@ruclip I have reported this issue here: square/retrofit#2529. If they let me make a PR to add the license information in the POM files, the plugin will pick it up next time. |
Closed by #27. |
Hi,
great Job with you Lib! This lib help me a lot to generating my open source view automatically. Thank you!
I found one big problem:
Some dependencies (square etc.) in generated JSON and HTML file are missing.
Dependencies:
Generated JSON:
The text was updated successfully, but these errors were encountered: