From b9c5f82add0254fef9f066a7c5e19c15596cf99c Mon Sep 17 00:00:00 2001 From: Gleb Date: Sat, 10 May 2025 18:31:25 +0100 Subject: [PATCH] MavenRepository name fixed to be compatible with cache directory naming --- .../Xamarin.AndroidBinderator/MavenFactory2.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs b/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs index 31c695189..934932ae4 100644 --- a/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs +++ b/util/Xamarin.AndroidBinderator/Xamarin.AndroidBinderator/MavenFactory2.cs @@ -71,7 +71,7 @@ static CachedMavenRepository GetOrCreateRepository (MavenRepoType type, string l if (type == MavenRepoType.Directory) throw new ArgumentException ("Directory repository type not supported"); else if (type == MavenRepoType.Url) - maven = new MavenRepository (location, location); + maven = new MavenRepository (location, new Uri(location).GetComponents(UriComponents.AbsoluteUri & ~UriComponents.Scheme, UriFormat.UriEscaped)); else if (type == MavenRepoType.MavenCentral) maven = MavenRepository.Central; else