Skip to content

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

@jjohannes

Description

@jjohannes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions