drop gradle support before 2.0

debian bullseye supports only Java 8+, which is compatible with gradle 2.0+: https://docs.gradle.org/current/userguide/compatibility.html
This commit is contained in:
proletarius101 2024-01-31 23:08:04 +08:00 committed by Jochen Sprickerhof
parent cf74ca5f56
commit a0a766cc8e
No known key found for this signature in database
GPG key ID: 5BFFDCC258E69433
2 changed files with 6 additions and 6 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-0.7-bin.zip' \
echo 'distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-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 0.7
download_cache_test 2.0
printf "unpack and run: "
rm -rf $GRADLE_VERSION_DIR/0.7/
download_cache_test 0.7
rm -rf $GRADLE_VERSION_DIR/2.0/
download_cache_test 2.0
printf "just run: "
download_cache_test 0.7
download_cache_test 2.0
exit $exit_value