Modified gradle script to compile in major and minor build numbers and to write to /output folder. All dependencies are automatically downloaded from repos.