GeePawHill, I've spent days and days tryna get the CD rig I wanted, java/gradle/github.
What i wanted: 1) A version embedded in and accessible to my app, that 2) has major/minor/build numbers in it, 3) that recognizes when your build is a dev build and when it's a release build, and 4) automagically increases the build number (monotonically, sequence isn't important) on all pushes.
I got it.
But boy, what a ludicrous amount of effort for such an obvious thing.