-
Notifications
You must be signed in to change notification settings - Fork 33
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
Gradle example broken/output not parseable #266
Comments
It's long past time that I engage our friends at Gradle to get a little help with this. I'll start that discussion later today. In the meantime, thanks for providing the example. Let's use that to refine the expression. As indicated at the bottom of the Gradle output, any line with So... insert The bigger challenge is lines like this:
Which I believe means that the the resolved version is This requires a little help from Something like this should do it.
I'll update the README. |
Thank you for digging into this, I will check Your regexp scare me a little, I fear looking too closely might trigger an RCE in my brain :) |
Good. I was trying for scary. 😃 |
Do you have cycles to check the the suggestion for tooling Gradle builds in #295? If yes, please add your comments there. |
Yes, I can check it shortly and give feedback in the corresponding ticket
We fixed it by adapting the regular expression a bit, because we noticed it was not working well with all use cases / all different representations of libraries inside the dependency tree. Check here for the changes we made and here for the resulting regular expression We use this script to create a report for each subproject and then merge the reports together to get an "all-dependencies.txt" for the whole project, which we then use for the dash license check. |
I'm basically a n00b when it comes to Gradle, so forgive the very basic question... How do I know what value to provide for |
Sorry didn't have time to check yet, but I will and report back the result, e.g. if our approaches are comparable w.r.t. the "found libraries".
Normally the subprojects are defined in settings.gradle. Our script basically executes the dash.sh for each subproject (kuksa-sdk, vss-processor, app,...) to make sure all dependencies of all (sub)projects are taken into account then merges all reports into a single "all-dependencies.txt" report. |
@waynebeaton |
Not an expert in Dash nor java/gradle.
I am doing this
(
ggrep
because using gnu grep on mac, on Linux just usegrep
)The resulting file has weird entries, see attached file:
DASHFILE.txt
specifically I guess the entries with
{strictly
in them look weird, they seem to follow a valid entry, i.e.I could "butcher them out", but as I said I am not really knowing what I am doing here, so maybe the grep fromt he example is just outdated? Somebody has a better version?
For reference the gradle output
dashraw.txt
It seems entries like this
make problems.
Any hints?
The text was updated successfully, but these errors were encountered: