chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e87a8c
)
gradle script: properly iterate over known versions
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 2 Dec 2015 18:16:13 +0000
(19:16 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 2 Dec 2015 18:17:08 +0000
(19:17 +0100)
buildserver/cookbooks/gradle/recipes/gradle
patch
|
blob
|
history
diff --git
a/buildserver/cookbooks/gradle/recipes/gradle
b/buildserver/cookbooks/gradle/recipes/gradle
index cd06c2bdd1856e91338aee2ca9cb76c9ce8a2016..1ad3ac3c2e818bcf0fdab866f816790e5b73c067 100755
(executable)
--- a/
buildserver/cookbooks/gradle/recipes/gradle
+++ b/
buildserver/cookbooks/gradle/recipes/gradle
@@
-30,7
+30,7
@@
d_plugin_v=(2.4 2.3 2.2.1 2.2.1 2.1 2.1 1.12 1.12 1.12 1.11 1.10 1.9 1.8 1.6 1
plugin_v=(2.9 2.8 2.7 2.6 2.5 2.4 2.3 2.2.1 2.1 1.12 1.11 1.10 1.9 1.8 1.7 1.6 1.4)
# Find the highest version available
-for v in ${plugin_v}; do
+for v in ${plugin_v
[*]
}; do
if contains $v "${v_all[*]}"; then
v_def=$v
break