summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-12-14 20:41:56 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-12-14 20:41:56 +0000
commitc77bcd91aa73dc3ab46e0600411bd7adc1d6d635 (patch)
tree7f9e1040e1b92b0d61e9db1cf660ce063e4dab59
parent28a6b93fccc62c43e64fc9c1a190278acb69bdea (diff)
parent90db4f2412a1b9f99e0f500728107ec93db697a8 (diff)
downloadgradle-plugin-c77bcd91aa73dc3ab46e0600411bd7adc1d6d635.tar.gz
Merge "Update maven version used to 3.9.4" into main am: 90db4f2412
Original change: https://android-review.googlesource.com/c/platform/prebuilts/gradle-plugin/+/2876534 Change-Id: I8555c11a25e5f59248831268752f6a89fc307304 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rwxr-xr-xupdate-metalava-lint-deps.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/update-metalava-lint-deps.sh b/update-metalava-lint-deps.sh
index ce106c8c5..d585c22d0 100755
--- a/update-metalava-lint-deps.sh
+++ b/update-metalava-lint-deps.sh
@@ -25,11 +25,12 @@ function delete_mvn_dir {
trap delete_mvn_dir EXIT
-# Download and unzip Apache Maven 3.9.2
+MAVEN_VERSION=3.9.4
+# Download and unzip Apache Maven
(
cd $MVN_DIR
- curl https://dlcdn.apache.org/maven/maven-3/3.9.2/binaries/apache-maven-3.9.2-bin.zip --output apache-maven-3.9.2-bin.zip
- unzip apache-maven-3.9.2-bin.zip
+ curl https://dlcdn.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip --output apache-maven-${MAVEN_VERSION}-bin.zip
+ unzip apache-maven-${MAVEN_VERSION}-bin.zip
)
MVN_BIN_DIR=$(find $MVN_DIR -name bin)