Skip to content

Also detect Gradle projects that only have a setting.gradle(.kts) file in the root #298

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

Open
jjohannes opened this issue Mar 5, 2025 · 0 comments

Comments

@jjohannes
Copy link

This is a Gradle-related issue concerning https://github.com/snyk/cli and it's interaction with Gradle and snyk-gradle-plugin. As I found no information about how to report an issue for cli directly, I am reporting it here instead. Please feel free to close this and move it to the appropriate channel.

The DETECTABLE_FILES files list here should include settings.gradle and settings.gradle.kts:
https://github.com/snyk/cli/blob/main/src/lib/detect.ts#L21-L22

One of these files is sufficient for a project to be a "Gradle project". There is no need to have a build.gradle(.kts) in the project root. Moder multi-project setups often do not have it and only have build.gradle(.kts) files in subfolders.

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

No branches or pull requests

1 participant