From efa8c413d6873036279935262b5e022b8229b2e2 Mon Sep 17 00:00:00 2001 From: Redth Date: Wed, 17 May 2017 06:55:44 -0700 Subject: [PATCH] =?UTF-8?q?XBD=20ItemID=E2=80=99s=20must=20not=20have=20mu?= =?UTF-8?q?ltiple=20-=20in=20them?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So if we have a case like: 26.0.0-alpha1, it would create an ItemID like `supportv4-26.0.0-alpha1` which is not allowed. Instead we’ll replace the verison’s - with _ to create `supportv4-26.0.0_alpha1` --- build.cake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.cake b/build.cake index 66a056e..20cf3dd 100644 --- a/build.cake +++ b/build.cake @@ -410,7 +410,7 @@ Task ("nuget-setup").IsDependentOn ("buildtasks").IsDependentOn ("externals") { "_XbdRestoreItems_", "_XbdRestoreItems_" + msName }, { "$XbdUrl$", M2_REPOSITORY_URL }, { "$XbdMd5$", part.Md5 }, - { "$XbdKey$", "androidsupport-" + AAR_VERSION + "/" + msName }, + { "$XbdKey$", "androidsupport-" + AAR_VERSION.Replace("-", "_") + "/" + msName }, { "$XbdAssemblyName$", aar.NugetId }, { "$XbdRangeStart$", part.RangeStart.ToString() }, { "$XbdRangeEnd$", part.RangeEnd.ToString() },