File tree Expand file tree Collapse file tree
.cloudbuild/library_generation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ ENV DOCKER_GAPIC_GENERATOR_VERSION="2.55.2-SNAPSHOT"
2626# Download the java formatter
2727RUN mvn -pl gapic-generator-java-pom-parent help:evaluate -Dexpression='google-java-format.version' -q -DforceStdout > /java-formatter-version
2828RUN cat /java-formatter-version
29- RUN curl -o "/google-java-format.jar" "https://maven-central.storage-download.googleapis.com/maven2/com/google/googlejavaformat/google-java-format/$(cat /java-formatter-version)/ google-java-format-$(cat /java-formatter-version) -all-deps.jar"
29+ RUN V=$(cat /java-formatter-version) curl -o "/google-java-format.jar" "https://maven-central.storage-download.googleapis.com/maven2/com/google/googlejavaformat/google-java-format/${V}/ google-java-format-${V} -all-deps.jar"
3030
3131# Compile and install packages
3232RUN mvn install -B -ntp -DskipTests -Dclirr.skip -Dcheckstyle.skip
You can’t perform that action at this time.
0 commit comments