fune/taskcluster/scripts/misc/gradle-python-envs.sh
Julien Cristau 6ffbc7cafd Bug 1824856 - add android-gradle-python-envs toolchain task. r=ahochheiden,amejiamarmol,geckoview-reviewers,firefox-build-system-reviewers
Because of https://github.com/gradle/plugin-portal-requests/issues/164,
this plugin is not being downloaded by our nexus2 proxy.  Work around
that issue by downloading the plugin explicitly in a separate toolchain
task.

Differential Revision: https://phabricator.services.mozilla.com/D201500
2024-01-09 14:50:20 +01:00

11 lines
315 B
Bash
Executable file

#!/bin/sh
set -x -e -v
VERSION="$1"
BASE_URL=https://plugins.gradle.org/m2/gradle/plugin/com/jetbrains/python/gradle-python-envs
mkdir -p "${UPLOAD_DIR}"
wget --no-parent --recursive --execute robots=off "${BASE_URL}/${VERSION}/"
tar caf "${UPLOAD_DIR}/gradle-python-envs-${VERSION}.tar.zst" plugins.gradle.org