You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When gradle 6.2 finds duplicates publications and decides to overwrite the artifactId it should warn the user to ensure the user is aware of the change
Current Behavior
In 6.2, in certain cases, the artifactId is changed without feedback to the user.
Context
Upgrade to Gradle 6.2 failed when downstream process were unable to locate the published artifacts at the expected location.
Steps to Reproduce
Will create a reproducer
Your Environment
Gradle 6.2 - internal build scan available if required
The text was updated successfully, but these errors were encountered:
When running: gradlew :a:module:generateMetadataFileForMavenPublication
The build fails with
* What went wrong:
Execution failed for task ':a:module:generateMetadataFileForMavenPublication'.
> Project :a:module has the same (groupId, artifactId) as :b:module. You should set both the groupId and artifactId of the publication or opt out by adding the org.gradle.dependency.duplicate.project.detection system property to 'false'.
as expected.
But when running: gradlew :c:module:generateMetadataFileForMavenPublication
The build succeeds however the artifactId of the publication has been set to c-module without the user being made aware of it.
(note that 🅰️ should be : a : but that's above my github proficiency)
Expected Behavior
When gradle
6.2
finds duplicates publications and decides to overwrite theartifactId
it should warn the user to ensure the user is aware of the changeCurrent Behavior
In
6.2
, in certain cases, theartifactId
is changed without feedback to the user.Context
Upgrade to Gradle
6.2
failed when downstream process were unable to locate the published artifacts at the expected location.Steps to Reproduce
Will create a reproducer
Your Environment
Gradle 6.2 - internal build scan available if required
The text was updated successfully, but these errors were encountered: