Skip to content

Commit 40fbc36

Browse files
committed
Check javac warnings rather than nothing until the ECJ build is fixed
1 parent 4aa858a commit 40fbc36

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

ci.jsonnet

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,17 +396,13 @@ local part_definitions = {
396396
},
397397

398398
lint: {
399-
downloads+: {
400-
JDT: { name: "ecj", version: "4.5.1", platformspecific: false },
401-
},
402399
packages+: {
403400
ruby: ">=2.1.0",
404401
},
405402
run+: [
406-
# Build with ECJ to get warnings
407403
["mx", "sversions"],
408404
] + self.before_build + [
409-
["mx", "build", "--jdt", "$JDT"],
405+
["mx", "build", "--warning-as-error", "--force-deprecation-as-warning"],
410406
] + jt(["lint"]) + self.after_build,
411407
},
412408

0 commit comments

Comments
 (0)