Update dynamic versioning to use Maven syntax instead of Gradle syntax

Target JDK1.5 so Mac OSX users don't have build problems (Apple only installs JDK1.6 on OSX Lion)