fix `Could not initialize class org.codehaus.groovy.runtime.InvokerHelper`

https://gitlab.com/proletarius101/fdroidserver/-/jobs/6068794117#L547
This commit is contained in:
proletarius101 2024-02-01 12:33:22 +08:00 committed by Jochen Sprickerhof
parent b20a14af09
commit ac4694fcd3
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433
1 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ run_test osmandapp/osmand 2.2.1
cd $tmpdir
mkdir -p download_cache_test/gradle/wrapper
cd download_cache_test
echo 'distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-bin.zip' \
echo 'distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip' \
> gradle/wrapper/gradle-wrapper.properties
printf "task helloWorld {\n\tdoLast {\n\t\tprintln '$TEST_VALUE'\n\t}\n}" > build.gradle
@ -65,11 +65,11 @@ mkdir -p $GRADLE_VERSION_DIR
unset https_proxy
printf "download, unpack, and run: "
download_cache_test 5.0
download_cache_test 7.3
printf "unpack and run: "
rm -rf $GRADLE_VERSION_DIR/5.0/
download_cache_test 5.0
rm -rf $GRADLE_VERSION_DIR/7.3/
download_cache_test 7.3
printf "just run: "
download_cache_test 5.0
download_cache_test 7.3
exit $exit_value