Skip to content

Commit 6d17e04

Browse files
committed
compile intra project dependencies for a specific subdirectory if needed
1 parent 0f30f3e commit 6d17e04

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.kokoro/build.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ fi
3535

3636
if [[ -n "${BUILD_SUBDIR}" ]]
3737
then
38+
echo "Compiling and building all modules for ${BUILD_SUBDIR}"
39+
mvn clean install \
40+
-DskipTests \
41+
-Dclirr.skip \
42+
-Dflatten.skip \
43+
-Dcheckstyle.skip \
44+
-Djacoco.skip \
45+
-Denforcer.skip \
46+
--also-make \
47+
--projects "${BUILD_SUBDIR}"
3848
echo "Running in subdir: ${BUILD_SUBDIR}"
3949
pushd "${BUILD_SUBDIR}"
4050
fi

0 commit comments

Comments
 (0)