further improvements to application plugin - completed renaming of task from 'install' to 'installApp' (fixes failing tests) - code simplifications - use convention mapping for run.main (required change to JavaExec to make convention mapping work)
GRADLE-1427, GRADLE-1438 - Fixed behaviour for application install path. - Replaced installDirName with installDir, which points to the actual directory which the application will be installed into, rather than its parent directory. - Include project version in the root directory name in the distribution zip. - Added applicationName convention property, to allow the application name to be different to the project name. - Changed CopySpec.into(path) and into(path, closure) to allow a closure to be passed as the destination path.