Skip to content

Commit 9498122

Browse files
authored
Merge pull request #19261 from smowton/smowton/admin/improve-gradle-wrapper-message
Java: Update test expectation
2 parents f02783a + 5c7a4eb commit 9498122

File tree

1 file changed

+8
-8
lines changed
  • java/ql/integration-tests/java/gradle-sample-without-wrapper-or-gradle-buildless

1 file changed

+8
-8
lines changed

Diff for: java/ql/integration-tests/java/gradle-sample-without-wrapper-or-gradle-buildless/diagnostics.expected

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"markdownMessage": "Build tool(s) should have been able to provide a recommended classpath but the attempt failed. Extraction will continue, but external dependencies will be inferred from the Java package names used. Consider troubleshooting the build tool error or using a build mode other than 'none'.",
3-
"severity": "note",
2+
"markdownMessage": "Analyzed a Gradle project without the [Gradle wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html). This may use an incompatible version of Gradle.",
3+
"severity": "warning",
44
"source": {
55
"extractorName": "java",
6-
"id": "java/autobuilder/buildless/classpath-from-tool-failed",
7-
"name": "Failed to extract dependency information from build tool tool Gradle"
6+
"id": "java/autobuilder/guessed-gradle-version",
7+
"name": "Required Gradle version not specified"
88
},
99
"visibility": {
1010
"cliSummaryTable": true,
@@ -13,12 +13,12 @@
1313
}
1414
}
1515
{
16-
"markdownMessage": "Built a Gradle project without the [Gradle wrapper](https://docs.gradle.org/current/userguide/gradle_wrapper.html). This may use an incompatible version of Gradle.",
17-
"severity": "warning",
16+
"markdownMessage": "Build tool(s) should have been able to provide a recommended classpath but the attempt failed. Extraction will continue, but external dependencies will be inferred from the Java package names used. Consider troubleshooting the build tool error or using a build mode other than 'none'.",
17+
"severity": "note",
1818
"source": {
1919
"extractorName": "java",
20-
"id": "java/autobuilder/guessed-gradle-version",
21-
"name": "Required Gradle version not specified"
20+
"id": "java/autobuilder/buildless/classpath-from-tool-failed",
21+
"name": "Failed to extract dependency information from build tool tool Gradle"
2222
},
2323
"visibility": {
2424
"cliSummaryTable": true,

0 commit comments

Comments
 (0)