From 3d20c6680ce9a562ec8eeeeabc1e8a492a53c76c Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Tue, 28 Apr 2015 16:20:01 -0700 Subject: Avoiding Turkish i/I issue with toLowerCase(), using ENGLISH locale --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 2f22b33b..d40106d6 100644 --- a/build.gradle +++ b/build.gradle @@ -262,7 +262,7 @@ enum Os { } static Os current() { - return values().find { os -> org.apache.tools.ant.taskdefs.condition.Os.isFamily(os.name().toLowerCase()) } + return values().find { os -> org.apache.tools.ant.taskdefs.condition.Os.isFamily(os.name().toLowerCase(java.util.Locale.ENGLISH)) } } } -- cgit v1.2.3