Created
October 4, 2017 21:34
-
-
Save grv87/88732e57df717f2cb3a3988346a2682c to your computer and use it in GitHub Desktop.
Gradle cross-platform-exec plugin under Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'com.github.jlouns.cpe' version '0.5.0' | |
} | |
task('test.cpe', type: CrossPlatformExec) { | |
commandLine(['bundle', '--version']) | |
} | |
task('test.cpe.PATHEXT', type: CrossPlatformExec) { | |
environment << ['PATHEXT': '.exe'] | |
commandLine(['bundle', '--version']) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment