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

Support scanning of buildScripts / used gradle plugins #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

balrok
Copy link
Contributor

@balrok balrok commented Jan 17, 2024

In our project, we need to scan also the build-time dependencies for licenses. In gradle they can be access via project.buildScript.

For this, the buildScriptProjects configuration option was introduced. It respects all other configuration like 'configurations'.

The implementation is utilizing the existing ProjectReader for this because the required fields (configurations and dependencies) can also be found in ScriptHandler. There is only a change required: to use a general data structure for accessing these fields.

For this, the buildScriptProjects configuration option was introduced.
It respects all other configuration like 'configurations'.

The implementation is utilizing the existing ProjectReader for this
because the required fields (`configurations` and `dependencies`) can
also be found in ScriptHandler. There is only a change required: to use
a general data structure for accessing these fields.
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.

None yet

1 participant