Product
Introducing Socket Optimize
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.
snyk-gradle-plugin
Advanced tools
Snyk helps you find, fix and monitor for known vulnerabilities in your dependencies, both on an ad hoc basis and as part of your CI (Build) system.
:information_source: This repository is only a plugin to be used with the Snyk CLI tool. To use this plugin to test and fix vulnerabilities in your project, install the Snyk CLI tool first. Head over to snyk.io to get started. |
---|
This plugin provides dependency metadata for Gradle projects that use gradle
and have a build.gradle
file.
Please refer to the Snyk for Java documentation
❌ Not supported ❓ No issues expected but not regularly tested ✅ Supported and verified with tests
OS | Supported |
---|---|
Windows | ✅ |
Linux | ✅ |
OSX | ️✅ |
Node | Supported |
---|---|
12 | ✅ |
14 | ✅ |
16 | ✅ |
Java / Gradle | 2.* | 3.* | 4.* | 5.* | 6.0 |
---|---|---|---|---|---|
8 (LTS) | ✅ | ✅ | ✅ | ✅ | ✅ |
9 | ❌ | ❌ | ❓ | ❓ | ❓ |
10 | ❌ | ❌ | ❓ | ❓ | ❓ |
11 (LTS) | ❌ | ❌ | ✅ | ✅ | ✅ |
12 | ❌ | ❌ | ❓ | ✅ | ️✅ |
13 | ❌ | ❌ | ✅ | ❌ | ✅ |
--gradle-sub-project=foo
return dependencies for a specific subproject (by default, return only the
dependencies for the top-level project)Additional command line arguments:
--all-sub-projects
for "multi project" configurations, test all sub-projects.
--configuration-matching=<string>
Resolve dependencies using only configuration(s) that match the provided Java regular expression, e.g. '^releaseRuntimeClasspath$'.
--configuration-attributes=<string>
Select certain values of configuration attributes to resolve the dependencies. E.g.: 'buildtype:release,usage:java-runtime'
See lib/init.gradle
for the Groovy script injected in Gradle builds to gather and resolve the dependencies.
FAQs
Snyk CLI Gradle plugin
The npm package snyk-gradle-plugin receives a total of 12,052 weekly downloads. As such, snyk-gradle-plugin popularity was classified as popular.
We found that snyk-gradle-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.
Product
We're excited to announce that Socket now supports the Java programming language.
Security News
Socket detected a malicious Python package impersonating a popular browser cookie library to steal passwords, screenshots, webcam images, and Discord tokens.