change build script to not use docker
#!/usr/bin/env bash
-# https://brevi.link/shell-style
-# https://explainshell.com
+set -e -u -o pipefail
-if [[ ! `git status` ]]; then
- echo 'Not in git repo, exiting'
- exit 1
+if [[ -n "${DEBUG-}" ]]; then
+ set -x
fi
-repo_top_level_dir=`git rev-parse --show-toplevel`
-cd ${repo_top_level_dir}
+cd "$(dirname "$0")/../"
-docker build -t build-image -f docker/builder/Dockerfile .
-exec docker run \
- --rm \
- build-image \
- ./gradlew clean build
\ No newline at end of file
+./gradlew build -x generateDocumentation -x deleteUnneededJarsFromPythonClasspath
