Giuseppe Barbieri
03/27/2025, 12:55 PMpublish
on the root, only the proper modules will have a publication to publish.
However now I need somehow to bump up the version for the next iteration, but this shall happen only if there is, of course, at least one publication.
Is there a way to achieve that?Giuseppe Barbieri
03/27/2025, 1:17 PMrootProject.ext
and then appending the logic to bump up in the :publish
doLast
Vampire
03/27/2025, 1:28 PMext
or extra
is a dirty work-around. 😉
And reaching into the root project model is just as bad as the other way around, it is cross-project configuration which you should not do.
You could maybe collect the information in some build service or similar. 🤷♂️Giuseppe Barbieri
03/27/2025, 1:29 PMVampire
03/27/2025, 9:48 PMGiuseppe Barbieri
03/28/2025, 8:08 AMVampire
03/28/2025, 12:07 PM