Dependency graph support for Gradle #11117
-
|
Is there any corresponding issue for the dependency graph support for Gradle? I was following it on the archived repo and not sure if any progress happened on the same. Please share your recommendation. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
|
Since build.gradle files are turing complete, our usual approach for static analysis of the files doesn't work. We've been working on this new API for dependency submission so that Gradle can submit their dependencies directly. Keep an eye on that issue for more information. |
Beta Was this translation helpful? Give feedback.
-
|
Given the launch of the linked Dependency Submission API, we've built a GitHub action making use of gradles |
Beta Was this translation helpful? Give feedback.
-
|
Am I right in thinking that this new dependency submission API will enable Dependabot security alerts for vulnerabilities in their dependencies? @jhutchings1 is there any intent for Github to release support for Gradle using this new API, or is the intent for the community to do this, (i.e. @mikepenz's action)? I'm particularly interesting in receiving alerts from Dependabot when a projects direct or transitive dependencies have known vulnerabilities. I find it strange that Dependabot is capable of updating Gradle dependency versions, and as part of that it determines what the current dependencies and their versions are, yet is not able to alert if there is known vulnerabilities in those dependencies. Or is it just the case that the Gradle support for Dependabot is using this new API, and its just the security alert part that is missing? |
Beta Was this translation helpful? Give feedback.
-
|
Another idea would be to add the functionality directly to Gradle‘s build action: gradle/gradle-build-action#449 |
Beta Was this translation helpful? Give feedback.
-
|
I wonder if Gradle's action could be used to avoid issues with Dependabot not respecting maven inclusion / exclusion rules when raising dependency update PRs... |
Beta Was this translation helpful? Give feedback.
Since build.gradle files are turing complete, our usual approach for static analysis of the files doesn't work. We've been working on this new API for dependency submission so that Gradle can submit their dependencies directly. Keep an eye on that issue for more information.