← All tasks
javagoogle/auto #744Not a task: not reproduced

AutoFactory adds unwanted AutoValue annotation processors to classpath

envgap__google__auto-744

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
61eda8c587b5ecb895258830efe82129ae18202d
Manifest
factory/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

google/auto #744 · read the original issue
AutoFactory 1.0-beta6 has a compile-scoped dependency on AutoValue 1.5.3:

https://github.com/google/auto/blob/2a52c553c69d353f65fdabc2f28cd46c2a31ccdf/factory/pom.xml#L74-L78

which adds the following annotation processors to classpath:



```

com.google.auto.value.extension.memoized.MemoizedValidator

com.google.auto.value.processor.AutoAnnotationProcessor

com.google.auto.value.processor.AutoValueBuilderProcessor

com.google.auto.value.processor.AutoValueProcessor

```



This is problematic for two reasons:

1. AutoValue 1.5.3 doesn't support incap thus incap has to be disabled for the whole Gradle module.

2. Consumers of AutoFactory don't expect any additional APs besides AutoFactory itself.



cc @ronshapiro 
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]