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.
GRADLE-1326 - Some updates to application plugin - Moved CreateStartScripts from o.g.a.internal.tasks.application to o.g.a.tasks.application and added to DSL reference - Renamed 'createStartScripts' task to 'startScripts' - Changed 'install' to use Sync instead of Copy - Allow application name and opts environment var to be customised for generated scripts