Mac OS Default JVM options make script fail on Linux and Windows

Great to know. I wish the variants feature (as hinted at Handling multiplatform concerns) was already available so that instead of specific task properties we could write something like

variants {
    unix {
        startScripts {
            generator.template = ...
        }
    }
    windows {
        startScripts {
            generator.template = ...
        }
    }
}

Looking forward to Gradle 2.6 and more :slight_smile: