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