Skip to content

Commit 5797711

Browse files
committed
Move all matchers to a single file
1 parent 2112bb3 commit 5797711

6 files changed

+72
-99
lines changed

.github/android-lint-file-matcher.json

-19
This file was deleted.

.github/android-lint-line-matcher.json

-19
This file was deleted.

.github/gradle-matcher.json

-23
This file was deleted.

.github/kotlin-error-matcher.json

-19
This file was deleted.

.github/kotlin-warning-matcher.json

-19
This file was deleted.

matchers.json

+72
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"problemMatcher": [
3+
{
4+
"owner": "android-lint-file",
5+
"pattern": [
6+
{
7+
"regexp": "^(.+):\\s+(Warning|Error):\\s+(.+)\\s+\\[(.+)\\]$",
8+
"file": 1,
9+
"severity": 2,
10+
"message": 3,
11+
"code": 4,
12+
"kind": "file"
13+
}
14+
]
15+
},
16+
{
17+
"owner": "android-lint-line",
18+
"pattern": [
19+
{
20+
"regexp": "^(.+):(\\d+):\\s+(Warning|Error):\\s+(.+)\\s+\\[(.+)\\]$",
21+
"file": 1,
22+
"line": 2,
23+
"severity": 3,
24+
"message": 4,
25+
"code": 5
26+
}
27+
]
28+
},
29+
{
30+
"owner": "gradle",
31+
"pattern": [
32+
{
33+
"regexp": "^(error|quiet|warning|lifecycle|info|debug)\\s+(\\S+)\\s+(.+)$",
34+
"severity": 1,
35+
"code": 2,
36+
"message": 3
37+
},
38+
{
39+
"regexp": "^([^\\s]+):([\\d]+)$",
40+
"file": 1,
41+
"line": 2
42+
}
43+
]
44+
},
45+
{
46+
"owner": "kotlin-error",
47+
"pattern": [
48+
{
49+
"regexp": "^e:\\s+(\\S+):\\s+\\((\\d+),\\s+(\\d+)\\):\\s+(.+)$",
50+
"file": 1,
51+
"line": 2,
52+
"column": 3,
53+
"message": 4
54+
}
55+
],
56+
"severity": "error"
57+
},
58+
{
59+
"owner": "kotlin-warning",
60+
"pattern": [
61+
{
62+
"regexp": "^w:\\s+(\\S+):\\s+\\((\\d+),\\s+(\\d+)\\):\\s+(.+)$",
63+
"file": 1,
64+
"line": 2,
65+
"column": 3,
66+
"message": 4
67+
}
68+
],
69+
"severity": "warning"
70+
}
71+
]
72+
}

0 commit comments

Comments
 (0)