More improvements for Gradle scanning - "apply from"

Improved

We are pleased to announce further improvements to scanning Gradle projects with Snyk Open Source.

Gradle projects often include secondary build files using the apply from syntax to manage dependencies, repositories, extra properties and other configuration.

From December 12th, Snyk's improved Gradle scanner (available in Snyk Preview) will support analyzing these kinds of additional build files.

The following forms will be supported.

  • Groovy: apply from: "dependencies.gradle"

  • Kotlin: apply(from = "dependencies.gradle.kts")

Note that any file names may be used, those above are just for example.

Existing users of the new scanner should see the improved results in the next re-scan of their projects. Or to start using the new scanner, see the documentation.

Tags: