AutoService: Intermittent "Error reading configuration file" while processing
- Dominant language
- Java
- Stars
- 10.6k
- Forks
- 1.2k
- Avg merge
- 6h 32m
- Merged PRs (30d)
- 13
Description
I believe #718 may be happening for AutoService as well. I have these dependencies listed in my `build.gradle`:
```
implementation 'com.google.dagger:dagger:2.22.1'
implementation "com.google.dagger:dagger-spi:2.23.1"
implementation "com.google.auto.service:auto-service:1.0-rc5"
annotationProcessor "com.google.auto.service:auto-service:1.0-rc5"
```
If I build with `./gradlew --stop && ./gradlew build`, then I don't see the error (adding `org.gradle.daemon=false` to `gradle.properties` also works). Running `./gradlew build` twice yields the following error:
```
$ ./gradlew build
> Task :app:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileJava'.
> java.util.ServiceConfigurationError: dagger.spi.BindingGraphPlugin: Error reading configuration file
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
4 actionable tasks: 4 executed
```
Contributor guide
Assessment
This issue has not been assessed yet.