OpenSearch/distribution
Romain Tartière ea0fe7bfae
Allow building on FreeBSD (#1091)
* Allow building on FreeBSD

With this set of change, we are able to successfuly run:

```
./gradlew publishToMavenLocal -Dbuild.snapshot=false
```

This step is used in the OpenSearch repository context when building
plugins in the current state of the CI.

While here, reorder OS conditions alphabetically.

Before building, the openjdk14 package was installed and the environment
was adjusted to use it:

```
sudo pkg install openjdk14
export JAVA_HOME=/usr/local/openjdk14/
export PATH=$JAVA_HOME/bin:$PATH
```

Signed-off-by: Romain Tartière <romain@blogreen.org>

* Unbreak CI with FreeBSD support

Signed-off-by: dblock <dblock@dblock.org>

Co-authored-by: dblock <dblock@dblock.org>
2021-10-14 14:42:28 -04:00
..
archives Allow building on FreeBSD (#1091) 2021-10-14 14:42:28 -04:00
bwc [License] Add SPDX and OpenSearch Modification license header (#509) 2021-04-09 14:28:18 -05:00
docker Rename artifact produced by the build to include -min (#1251) 2021-09-21 19:43:35 -04:00
licenses Fix stragglers from renaming to OpenSearch work. (#483) 2021-04-05 11:51:20 -07:00
packages Rename artifact produced by the build to include -min (#1251) 2021-09-21 19:43:35 -04:00
src FreeBSD Java support (#1014) 2021-09-07 18:17:58 -04:00
tools Modernize and consolidate JDKs usage across all stages of the build. Use JDK-17 as bundled JDK distribution to run tests (#1358) 2021-10-13 17:25:48 -04:00
build.gradle Allow building on FreeBSD (#1091) 2021-10-14 14:42:28 -04:00