mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-03 17:50:11 +02:00
Fix gradle 2.1
This commit is contained in:
parent
135e15bde3
commit
ea62609a80
@ -18,7 +18,7 @@ script "add-gradle-verdir" do
|
||||
not_if "test -d /opt/gradle/versions"
|
||||
end
|
||||
|
||||
%w{1.4 1.6 1.7 1.8 1.9 1.10 1.11 1.12}.each do |ver|
|
||||
%w{1.4 1.6 1.7 1.8 1.9 1.10 1.11 1.12 2.1}.each do |ver|
|
||||
script "install-gradle-#{ver}" do
|
||||
cwd "/tmp"
|
||||
interpreter "bash"
|
||||
|
@ -27,7 +27,10 @@ d_plugin_k=(0.13 0.12 0.11 0.10 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2)
|
||||
d_plugin_v=( 2.1 1.12 1.12 1.12 1.11 1.10 1.9 1.8 1.6 1.6 1.4 1.4)
|
||||
|
||||
for v in ${d_plugin_v}; do
|
||||
contains $v "${v_all[*]}" && v_def=$v && break
|
||||
if contains $v "${v_all[*]}"; then
|
||||
v_def=$v
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Latest takes priority
|
||||
|
Loading…
Reference in New Issue
Block a user