google / google/truth

Auto-value dependency drags dep into truth's downstream

Open
#590 3 comments 0 reactions 0 assignees View on GitHub
P3 type=other
Dominant language
Java
Stars
2.8k
Forks
275
Avg merge
7m
Merged PRs (30d)
4

Description

Auto-value annotations dependency is specified as a default (compile) dependency, which in maven-land means needed at compile time and runtime. This means that it leaks the version truth uses to any downstream project that fails to specify it, possibly conflicting with newer usages. Since Truth only needs auto-value to build itself, we should specify the dep as provided so it's not included in the transitive closure of Truth.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.