JakeWharton / JakeWharton/timber
LintError Unknown ID for Parallel Build
- Dominant language
- Kotlin
- Stars
- 10.9k
- Forks
- 994
- Avg merge
- 17h 16m
- Merged PRs (30d)
- 17
Description
If I run a lint task as part of a parallel build, I get a LintError for each issue ID that Timber defines saying:
> Unknown issue id "The Timber Issue ID"
I disable all the Timber lint checks because I built my logging framework off Timber, and the checks are moot for my use case.
I have around 12 modules, but all the errors are in my app module. If I disable gradle parallel builds there is no error.
My `lintOptions`:
```
lintOptions {
lintConfig rootProject.file('lint.xml')
disable 'ParcelCreator', 'TimberExceptionLogging', 'LogNotTimber', 'StringFormatInTimber', 'ThrowableNotAtBeginning', 'BinaryOperationInTimber', 'TimberArgCount', 'TimberArgTypes', 'TimberTagLength'
}
```
My `lint.xml`:
```
```
One of the lint errors:
```
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the lint configuration in app/build.gradle at line 162 and the referenced rootProject lint.xml. Reproduce the lint task with Gradle parallel builds enabled and compare it with a non-parallel build, focusing on the Timber issue IDs listed in the configuration. Done means the parallel build no longer reports those IDs as unknown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100