From 58900744ea3ace4aa6202b215afa360e6d966bc6 Mon Sep 17 00:00:00 2001 From: Boris Kraut Date: Tue, 18 Apr 2017 23:36:01 +0200 Subject: [PATCH] bs: use only prefixes for gradle kv pairs --- buildserver/gradle | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/buildserver/gradle b/buildserver/gradle index 6caaf867..87eed0a0 100755 --- a/buildserver/gradle +++ b/buildserver/gradle @@ -18,10 +18,12 @@ contains() { return 1 } -# key-value pairs of what gradle version each gradle plugin version -# should accept (see: https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle) -d_plugin_k=(2.3.1 2.3.0 2.3 2.2.3 2.2.2 2.2.1 2.2.0 2.2 2.1.3 2.1 2.0 1.5 1.3 1.2 1.1 1.0 0.14 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=( 3.3 3.3 3.3 2.14.1 2.14.1 2.14.1 2.14.1 2.14.1 2.14.1 2.12 2.12 2.4 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.6 1.4 1.4) +# key-value pairs of what gradle version (value) each gradle plugin version +# (key) should accept. plugin versions are actually prefixes and catch sub- +# versions as well. Pairs are taken from: +# https://developer.android.com/studio/releases/gradle-plugin.html#updating-gradle +d_plugin_k=(2.3 2.2 2.1.3 2.1 2.0 1.5 1.3 1.2 1.1 1.0 0.14 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=(3.3 2.14.1 2.14.1 2.12 2.12 2.4 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.6 1.4 1.4) # All gradle versions we know about plugin_v=(3.5 3.4.1 3.4 3.3 3.2.1 3.2 3.1 3.0 2.14.1 2.14 2.13 2.12 2.11 2.10 2.9 2.8 2.7 2.6 2.5 2.4 2.3 2.2.1 2.2 2.1 1.12 1.11 1.10 1.9 1.8 1.7 1.6 1.4)