We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ece5e6 commit d895399Copy full SHA for d895399
solr/packaging/build.gradle
@@ -16,6 +16,7 @@
16
*/
17
18
import org.apache.tools.ant.util.TeeOutputStream
19
+import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
20
21
// This project puts together a "distribution", assembling dependencies from
22
// various other projects.
@@ -275,7 +276,7 @@ task integrationTests(type: BatsTask) {
275
276
277
task pesterTests {
278
dependsOn installFullDist
- onlyIf { Os.isFamily(Os.FAMILY_WINDOWS) }
279
+ onlyIf { DefaultNativePlatform.getCurrentOperatingSystem().isWindows() }
280
281
def integrationTestOutput = "$buildDir/powershell-test-output"
282
def solrHome = "$integrationTestOutput/solr-home"
0 commit comments