Add mainClassName build property for Gradle's 'application' plugin