mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
drop gradle support before 7.3
debian bookworm supports only Java 17+, which is compatible with gradle 7.3+: https://docs.gradle.org/current/userguide/compatibility.html
This commit is contained in:
parent
a0a766cc8e
commit
0a3f785254
3 changed files with 7 additions and 7 deletions
|
@ -56,7 +56,7 @@ run_test osmandapp/osmand 2.2.1
|
||||||
cd $tmpdir
|
cd $tmpdir
|
||||||
mkdir -p download_cache_test/gradle/wrapper
|
mkdir -p download_cache_test/gradle/wrapper
|
||||||
cd download_cache_test
|
cd download_cache_test
|
||||||
echo 'distributionUrl=https\://services.gradle.org/distributions/gradle-2.0-bin.zip' \
|
echo 'distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-bin.zip' \
|
||||||
> gradle/wrapper/gradle-wrapper.properties
|
> gradle/wrapper/gradle-wrapper.properties
|
||||||
printf "task helloWorld {\n\tdoLast {\n\t\tprintln '$TEST_VALUE'\n\t}\n}" > build.gradle
|
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
|
unset https_proxy
|
||||||
printf "download, unpack, and run: "
|
printf "download, unpack, and run: "
|
||||||
download_cache_test 2.0
|
download_cache_test 5.0
|
||||||
printf "unpack and run: "
|
printf "unpack and run: "
|
||||||
rm -rf $GRADLE_VERSION_DIR/2.0/
|
rm -rf $GRADLE_VERSION_DIR/5.0/
|
||||||
download_cache_test 2.0
|
download_cache_test 5.0
|
||||||
printf "just run: "
|
printf "just run: "
|
||||||
download_cache_test 2.0
|
download_cache_test 5.0
|
||||||
|
|
||||||
exit $exit_value
|
exit $exit_value
|
||||||
|
|
|
@ -53,7 +53,7 @@ Builds:
|
||||||
subdir: addons/languages/dutch
|
subdir: addons/languages/dutch
|
||||||
sudo:
|
sudo:
|
||||||
- apt-get update || apt-get update
|
- apt-get update || apt-get update
|
||||||
- apt-get install -t stretch-backports openjdk-11-jdk-headless openjdk-11-jre-headless
|
- apt-get install -t sid-backports openjdk-11-jdk-headless openjdk-11-jre-headless
|
||||||
- update-alternatives --auto java
|
- update-alternatives --auto java
|
||||||
gradle:
|
gradle:
|
||||||
- yes
|
- yes
|
||||||
|
|
|
@ -499,7 +499,7 @@ Builds:
|
||||||
subdir: ime/app
|
subdir: ime/app
|
||||||
sudo:
|
sudo:
|
||||||
- apt-get update || apt-get update
|
- apt-get update || apt-get update
|
||||||
- apt-get install -t stretch-backports openjdk-11-jdk-headless openjdk-11-jre-headless
|
- apt-get install -t sid-backports openjdk-11-jdk-headless openjdk-11-jre-headless
|
||||||
- update-alternatives --auto java
|
- update-alternatives --auto java
|
||||||
gradle:
|
gradle:
|
||||||
- yes
|
- yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue