-
Notifications
You must be signed in to change notification settings - Fork 135
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
Use the library name from the POM file of the dependency #191
Conversation
Keep track of already added licenses and reuse their offsets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This CL breaks unit tests in LicenseTaskTest. Please fix existing tests and add tests that verify the new functionality works as intended.
...censes-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy
Outdated
Show resolved
Hide resolved
...censes-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy
Outdated
Show resolved
Hide resolved
I will fix the tests asap, tbh I forgot to run them |
I fixed the tests and your remarks. There was one broken test file ( Thank you for the review! |
...censes-plugin/src/test/java/com/google/android/gms/oss/licenses/plugin/LicensesTaskTest.java
Show resolved
Hide resolved
...censes-plugin/src/test/java/com/google/android/gms/oss/licenses/plugin/LicensesTaskTest.java
Outdated
Show resolved
Hide resolved
...censes-plugin/src/main/groovy/com/google/android/gms/oss/licenses/plugin/LicensesTask.groovy
Show resolved
Hide resolved
Changed the code and merged my other PR into this one. I'm looking forward new feedback |
@caller9 when I see this correctly then has my patch already landed in multiple Google Apps like the PlayStore, is there any timeframe when I can expect to see this in a public release? |
My patch went live in 0.10.5 on February 28 |
I want to have the clean name of the dependency if set in the POM file. My PR will use the name and will fallback when the name tag is not set in the POM file to the artifact group and artifact id.
Fixes #184