Skip to content

Conversation

copybara-service[bot]
Copy link
Contributor

Remove deps on truth-java8-extension.

Its classes have been part of the core Truth artifact since 1.4.2.

Since we now depend on only one Truth artifact, I also inlined our truth.version property. Exception: I kept it in Guava, since we share it across multiple pom.xml files. (We could accomplish the same thing by using dependencyManagement there, but we have recently avoided it, and I have some reservations around it, anyway, since it may override a newer version from a dependency. Fortunately, that is mostly academic now that we have Dependabot set up for almost all our projects.) The other thing about Guava is that we do not have Dependabot set up for it. By keeping the version in a property, we allow our lesser Dependabot substitute, versions-maven-plugin, to bump it, as discussed on cl/554548816.

RELNOTES=n/a

Its classes [have been part of the core Truth artifact since 1.4.2](google/truth#746 (comment)).

Since we now depend on only one Truth artifact, I also inlined our `truth.version` property. Exception: I kept it in Guava, since we share it across multiple `pom.xml` files. (We _could_ accomplish the same thing by using `dependencyManagement` there, but [we have recently avoided it](https://github.com/google/guava/blob/257bc194f6e5bedd02115693f7416a84c3e4ba25/pom.xml#L107-L111), and I have some reservations around it, anyway, since it may override a newer version from a dependency. Fortunately, that is mostly academic now that we have Dependabot set up for almost all our projects.) The other thing about Guava is that we do _not_ have Dependabot set up for it. By keeping the version in a property, we allow our lesser Dependabot substitute, `versions-maven-plugin`, to bump it, as discussed on cl/554548816.

RELNOTES=n/a
PiperOrigin-RevId: 808216999
@copybara-service copybara-service bot merged commit 4c4f855 into master Sep 17, 2025
@copybara-service copybara-service bot deleted the test_808166739 branch September 17, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant