Skip to content
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 reachability #1377

Merged

Conversation

meghfossa
Copy link
Contributor

@meghfossa meghfossa commented Feb 9, 2024

Overview

This PR,

  • Adds ability perform reachability for gradle's project and multi-project

Acceptance criteria

  • Gradle's built jar can be analyzed for reachability

Testing plan

git checkout feat/reachability-in-cli-gradle && make install-dev
  1. get example project: https://docs.gradle.org/current/samples/sample_building_java_applications_multi_project.html
./gradlew build
fossa-dev analyze -o --debug

gunzip fossa.debug.json.gz
cat fossa.debug.json | jq '.bundleReachabilityRaw' # you should see parsed jars

Risks

N/A

Metrics

N/A

References

https://fossa.atlassian.net/browse/ANE-1413

Checklist

  • I added tests for this PR's change (or explained in the PR description why tests don't make sense).
  • If this PR introduced a user-visible change, I added documentation into docs/.
  • If this PR added docs, I added links as appropriate to the user manual's ToC in docs/README.ms and gave consideration to how discoverable or not my documentation is.
  • If this change is externally visible, I updated Changelog.md. If this PR did not mark a release, I added my changes into an # Unreleased section at the top.
  • If I made changes to .fossa.yml or fossa-deps.{json.yml}, I updated docs/references/files/*.schema.json AND I have updated example files used by fossa init command. You may also need to update these if you have added/removed new dependency type (e.g. pip) or analysis target type (e.g. poetry).
  • If I made changes to a subcommand's options, I updated docs/references/subcommands/<subcommand>.md.

@meghfossa meghfossa changed the base branch from master to feat/reachability-in-cli-maven February 9, 2024 03:07
@meghfossa meghfossa marked this pull request as ready for review February 9, 2024 14:58
@meghfossa meghfossa requested a review from a team as a code owner February 9, 2024 14:58
@meghfossa meghfossa requested review from spatten and jssblck and removed request for a team and spatten February 9, 2024 14:58
@meghfossa meghfossa changed the title gradle reachability Gradle reachability Feb 9, 2024
@meghfossa meghfossa merged commit 484d178 into feat/reachability-in-cli-maven Feb 10, 2024
12 of 15 checks passed
@meghfossa meghfossa deleted the feat/reachability-in-cli-gradle branch February 10, 2024 14:38
meghfossa added a commit that referenced this pull request Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants