Generate a .java file with some build-time constants.
Having versions as folders in version control is dumb.
Rename the package name; versions in packages is also dumb.
Build file tweaks.