Re:Everything You Never Wanted to Know About CMake
by kuschku on Sunday February 03, 2019 @02:00PM
(#19071440)
Yes, with gradle you can create true monstrosities — and even my own projects aren’t free of those, sadly, because sometimes there’s just no alternatives.
Here’s a few examples:
Dynamically using git describe to determine version and build number (which is actually just the # of commits that ever occured, to allow reproducable builds)
Here’s a few examples:
Dynamically using git describe to determine version and build number (which is actually just the # of commits that ever occured, to allow reproducable builds)
Putting git infos into certain classes Using string interpolation to change the output file to include the version But the worst part is that often on StackOverflow you only find ugly hacks adding custom tasks, removing tasks, modifying them, etc with ugly hacks.And even worse, sometimes there’s just no good alternative at all.
Which is why gradle took so long to clean up some parts of their API, or introduce parallel builds.