aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle13
1 files changed, 13 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index b0c8586690f..c03c57edbc6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -656,3 +656,16 @@ dependencyUpdates {
rejected
}
}
+
+
+ext.osAdaptiveCommand = { commands ->
+ def newCommands = []
+
+ if (System.properties['os.name'].toLowerCase().contains('windows')) {
+ newCommands = ['cmd', '/c']
+ }
+
+ newCommands.addAll(commands)
+
+ return newCommands
+} \ No newline at end of file