mirror of
https://github.com/android-actions/setup-android
synced 2024-11-21 13:09:35 -08:00
Move all matchers to a single file
This commit is contained in:
parent
2112bb34ef
commit
57977119c1
6 changed files with 72 additions and 99 deletions
19
.github/android-lint-file-matcher.json
vendored
19
.github/android-lint-file-matcher.json
vendored
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
// Example:
|
||||
// /path/to/file/file.class: Warning: checkClientTrusted is empty, which could cause insecure network traffic due to trusting arbitrary TLS/SSL certificates presented by peers [TrustAllX509TrustManager]
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "android-lint-file",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(.+):\\s+(Warning|Error):\\s+(.+)\\s+\\[(.+)\\]$",
|
||||
"file": 1,
|
||||
"severity": 2,
|
||||
"message": 3,
|
||||
"code": 4,
|
||||
"kind": "file"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
19
.github/android-lint-line-matcher.json
vendored
19
.github/android-lint-line-matcher.json
vendored
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
// Example:
|
||||
// /path/to/file/build.gradle:55: Warning: A newer version of androidx.core:core-ktx than 1.2.0-beta01 is available: 1.2.0-rc01 [GradleDependency]
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "android-lint-line",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(.+):(\\d+):\\s+(Warning|Error):\\s+(.+)\\s+\\[(.+)\\]$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"severity": 3,
|
||||
"message": 4,
|
||||
"code": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
23
.github/gradle-matcher.json
vendored
23
.github/gradle-matcher.json
vendored
|
@ -1,23 +0,0 @@
|
|||
{
|
||||
// Example:
|
||||
// warning unused-exclude-by-conf the exclude dependency is not in your dependency graph, so has no effect
|
||||
// app/build.gradle:45
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "gradle",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(error|quiet|warning|lifecycle|info|debug)\\s+(\\S+)\\s+(.+)$",
|
||||
"severity": 1,
|
||||
"code": 2,
|
||||
"message": 3
|
||||
},
|
||||
{
|
||||
"regexp": "^([^\\s]+):([\\d]+)$",
|
||||
"file": 1,
|
||||
"line": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
19
.github/kotlin-error-matcher.json
vendored
19
.github/kotlin-error-matcher.json
vendored
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
// Example:
|
||||
// e: /path/to/file/KotlinFile.kt: (14, 5): Val cannot be reassigned
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "kotlin-error",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^e:\\s+(\\S+):\\s+\\((\\d+),\\s+(\\d+)\\):\\s+(.+)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"message": 4
|
||||
}
|
||||
],
|
||||
"severity": "error"
|
||||
}
|
||||
]
|
||||
}
|
19
.github/kotlin-warning-matcher.json
vendored
19
.github/kotlin-warning-matcher.json
vendored
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
// Example:
|
||||
// w: /path/to/file/KotlinFile.kt: (14, 5): Parameter 'foo' is never used
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "kotlin-warning",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^w:\\s+(\\S+):\\s+\\((\\d+),\\s+(\\d+)\\):\\s+(.+)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"message": 4
|
||||
}
|
||||
],
|
||||
"severity": "warning"
|
||||
}
|
||||
]
|
||||
}
|
72
matchers.json
Normal file
72
matchers.json
Normal file
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "android-lint-file",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(.+):\\s+(Warning|Error):\\s+(.+)\\s+\\[(.+)\\]$",
|
||||
"file": 1,
|
||||
"severity": 2,
|
||||
"message": 3,
|
||||
"code": 4,
|
||||
"kind": "file"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "android-lint-line",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(.+):(\\d+):\\s+(Warning|Error):\\s+(.+)\\s+\\[(.+)\\]$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"severity": 3,
|
||||
"message": 4,
|
||||
"code": 5
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "gradle",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(error|quiet|warning|lifecycle|info|debug)\\s+(\\S+)\\s+(.+)$",
|
||||
"severity": 1,
|
||||
"code": 2,
|
||||
"message": 3
|
||||
},
|
||||
{
|
||||
"regexp": "^([^\\s]+):([\\d]+)$",
|
||||
"file": 1,
|
||||
"line": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "kotlin-error",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^e:\\s+(\\S+):\\s+\\((\\d+),\\s+(\\d+)\\):\\s+(.+)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"message": 4
|
||||
}
|
||||
],
|
||||
"severity": "error"
|
||||
},
|
||||
{
|
||||
"owner": "kotlin-warning",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^w:\\s+(\\S+):\\s+\\((\\d+),\\s+(\\d+)\\):\\s+(.+)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"column": 3,
|
||||
"message": 4
|
||||
}
|
||||
],
|
||||
"severity": "warning"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue