forked from mirrors/gecko-dev
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
11 lines
315 B
Bash
Executable file
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
|