[Java] fix multi-platform jar build (#10732)

This commit is contained in:
chaokunyang authored and GitHub committed 2020-09-11 15:05:48 +08:00
1 parent 13dc3b59f1
commit 427ba3df47
1 file changed
+1
+1
View File
@@ -26,6 +26,7 @@ build_jars() {
mkdir -p "$JAR_DIR"
for p in "${JAVA_DIRS_PATH[@]}"; do
cd "$WORKSPACE_DIR/$p"
bazel build cp_java_generated
if [[ $bazel_build == "true" ]]; then
echo "Starting building java native dependencies for $p"
bazel build gen_maven_deps