This message was deleted.
# community-support
s
This message was deleted.
c
have you tried this? the first for is for an external dependency; the second is for a project dependency. Providing invalid dependency notation (or an invalid project path) will fail.
t
it is not failing it works,
I stumble on it on the large project and tried to understand it
v
If the group is not set for the project the coordinates are correct and it will be substituted by the project dependeny automatically
But better use the second form directly
t
thx @Vampire, The group is set only on the root project (and not set on all the other subprojects) also can you explain on the difference between the two forms ?
v
I did
c
It’s as I described - it just happens to “coincidentally” work as there is no group, so ’:projY` matches the dependency coordinates for that project and is resolved as a dependency
v
First form is just usual
group:artifact:version
notation with empty group and no version. Which is then automatically substituted by the project dependency that builds the artifact with those coordinates
t
thank you
👌 1