Regression in 7.6-rc-1 when using invalid Maven repository name #22582
Labels
a:regression
This used to work
in:configuration-cache
Configuration Caching
in:publishing-plugins
ivy-publish maven-publish
Milestone
Given the following Gradle configuration:
Publishing succeeds on Gradle 7.5.1 (assuming the repository URL, etc. is valid).
Publishing fails on Gradle 7.6-rc-1 with the following error:
Expected Behavior
Publication configurations that worked on Gradle 7.5.1 continue to work on Gradle 7.6-rc-1.
Current Behavior
Publication configurations that worked on Gradle 7.5.1 do not to work on Gradle 7.6-rc-1.
Context
This regression was introduced in #21282. Specifically, it was introduced in 7c98f02.
Previously the publishing tasks did not call
CredentialsProviderFactory.validateIdentity
. It's not clear to me whether this was intentional or accidental.Steps to Reproduce
See the
build.gradle
reproduction example above.The text was updated successfully, but these errors were encountered: