Skip to content

Commit 74aa9e7

Browse files
committed
always install SDK platform deps
1 parent 8ef8c57 commit 74aa9e7

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.github/workflows/sdk-platform-java-ci.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ on:
33
branches:
44
- main
55
pull_request:
6-
name: sdk-platform-java ci
7-
env:
8-
BUILD_SUBDIR: sdk-platform-java
6+
name: sdk-platform-java-ci
97
jobs:
108
filter:
119
runs-on: ubuntu-latest
@@ -25,7 +23,7 @@ jobs:
2523
runs-on: ubuntu-22.04
2624
strategy:
2725
matrix:
28-
java: [ 11, 17]
26+
java: [ 11, 17 ]
2927
steps:
3028
- uses: actions/checkout@v4
3129
- uses: actions/setup-java@v4

.kokoro/build.sh

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@ if [ -f "${KOKORO_GFILE_DIR}/secret_manager/java-bigqueryconnection-samples-secr
3333
source "${KOKORO_GFILE_DIR}/secret_manager/java-bigqueryconnection-samples-secrets"
3434
fi
3535

36+
pushd sdk-platform-java
37+
echo "Installing SDK Platform Libraries"
38+
mvn install -B -ntp \
39+
-DtrimStackTrace=false \
40+
-Dclirr.skip=true \
41+
-Denforcer.skip=true \
42+
-Dorg.slf4j.simpleLogger.showDateTime=true \
43+
-Dorg.slf4j.simpleLogger.dateTimeFormat=HH:mm:ss:SSS \
44+
-Dcheckstyle.skip=true \
45+
-Dflatten.skip=true \
46+
-Danimal.sniffer.skip=true \
47+
-DskipTests=true \
48+
-Djacoco.skip=true \
49+
-T 1C
50+
popd
51+
3652
RETURN_CODE=0
3753

3854
case ${JOB_TYPE} in

.kokoro/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function install_modules() {
372372
#
373373
# mvn install --projects java-kms/google-cloud-kms --also-make
374374
# Correctly builds dependencies without building dependents.
375-
mvn install --projects "$all_submodules,$always_install_deps" --also-make \
375+
mvn install --projects "$all_submodules" --also-make \
376376
-B -ntp \
377377
-DtrimStackTrace=false \
378378
-Dclirr.skip=true \

0 commit comments

Comments
 (0)