We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea91b79 + 166a3fc commit 2fc357eCopy full SHA for 2fc357e
core/build.gradle
@@ -24,7 +24,10 @@ plugins {
24
25
apply from: "$buildScriptsDir/common-java.gradle"
26
apply from: "$buildScriptsDir/publishing.gradle"
27
-if (System.env."windir" != null) {
+
28
+import org.apache.tools.ant.taskdefs.condition.Os
29
30
+if (Os.isFamily(Os.FAMILY_WINDOWS)) {
31
apply from: "native.gradle"
32
} else {
33
logger.warn("Native binaries build is only supported on Windows systems; native components will not be built.")
0 commit comments