mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-19 03:15:15 +00:00
This commit adds the SPDX Apache-2.0 license header along with an additional copyright header for all modifications. Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
25 lines
648 B
Groovy
25 lines
648 B
Groovy
/*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* The OpenSearch Contributors require contributions made to
|
|
* this file be licensed under the Apache-2.0 license or a
|
|
* compatible open source license.
|
|
*
|
|
* Modifications Copyright OpenSearch Contributors. See
|
|
* GitHub history for details.
|
|
*/
|
|
|
|
import org.opensearch.gradle.test.GradleDistroTestTask
|
|
|
|
String boxId = project.properties.get('vagrant.windows-2016.id')
|
|
if (boxId != null) {
|
|
vagrant {
|
|
hostEnv 'VAGRANT_WINDOWS_2016_BOX', boxId
|
|
}
|
|
} else {
|
|
// box id was not supplied, so disable the distro tests
|
|
tasks.withType(GradleDistroTestTask).configureEach {
|
|
onlyIf { false }
|
|
}
|
|
}
|