Skip to content

Commit

Permalink
Merge pull request #1383 from snyk/feat/bump-gradle-plugin
Browse files Browse the repository at this point in the history
feat: use snyk-gradle-plugin@3.6.2 that sends back project targetFile
  • Loading branch information
lili2311 committed Sep 2, 2020
2 parents 6b262ed + fade21a commit 945722f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -79,7 +79,7 @@
"snyk-cpp-plugin": "1.4.1",
"snyk-docker-plugin": "3.18.1",
"snyk-go-plugin": "1.16.0",
"snyk-gradle-plugin": "3.5.1",
"snyk-gradle-plugin": "3.6.2",
"snyk-module": "3.1.0",
"snyk-mvn-plugin": "2.19.1",
"snyk-nodejs-lockfile-parser": "1.27.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/plugins/get-deps-from-plugin.ts
Expand Up @@ -149,7 +149,7 @@ export function warnSomeGradleManifestsNotScanned(
);

if (diff.length > 0) {
return `✗ ${diff.length}/${detectedGradleFiles.length} detected Gradle manifests did not return dependencies.\nThey may have errored or were not included as part of a multi-project build. You may need to scan them individually with --file=path/to/file. Run with \`-d\` for more info.`;
return `✗ ${diff.length}/${detectedGradleFiles.length} detected Gradle manifests did not return dependencies. They may have errored or were not included as part of a multi-project build. You may need to scan them individually with --file=path/to/file. Run with \`-d\` for more info.`;
}
return null;
}
2 changes: 1 addition & 1 deletion test/acceptance/cli-test/cli-test.all-projects.spec.ts
Expand Up @@ -92,7 +92,7 @@ export const AllProjectsTests: AcceptanceTests = {
);
t.same(
stdoutMessages,
'✗ 1/3 detected Gradle manifests did not return dependencies.\n' +
'✗ 1/3 detected Gradle manifests did not return dependencies. ' +
'They may have errored or were not included as part of a multi-project build. You may need to scan them individually with --file=path/to/file. Run with `-d` for more info.',
);
stubbedConsole.restore();
Expand Down

0 comments on commit 945722f

Please sign in to comment.