This repository was archived by the owner on Jun 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
support-annotations/nuget Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -443,11 +443,13 @@ Task ("nuget-setup").IsDependentOn ("buildtasks").IsDependentOn ("externals")
443443
444444 // Support annotations needs merging tool
445445 var annotationsPart = downloadParts . FirstOrDefault ( p => p . LocalPath . EndsWith ( "/support-annotations-" + AAR_VERSION + ".jar" ) ) ;
446+
446447 var annotationsTemplateText = FileReadText ( "./support-annotations/nuget/template.targets" ) ;
447448 annotationsTemplateText = annotationsTemplateText . Replace ( "$AarVersion$" , AAR_VERSION )
448449 . Replace ( "$XbdRangeStart$" , annotationsPart . RangeStart . ToString ( ) )
449450 . Replace ( "$XbdRangeEnd$" , annotationsPart . RangeEnd . ToString ( ) )
450- . Replace ( "$XbdMd5$" , annotationsPart . Md5 ) ;
451+ . Replace ( "$XbdMd5$" , annotationsPart . Md5 )
452+ . Replace ( "$XbdUrl$" , M2_REPOSITORY_URL ) ;
451453
452454 FileWriteText ( "./support-annotations/nuget/Xamarin.Android.Support.Annotations.targets" , annotationsTemplateText ) ;
453455 mergeTargetsFiles ( "./support-annotations/nuget/Xamarin.Android.Support.Annotations.targets" , "./generated.targets" ) ;
Original file line number Diff line number Diff line change 2626
2727 <ItemGroup >
2828 <XamarinBuildDownloadPartialZip Include =" $(_XbdKey_supportannotations)" Condition =" !Exists('$(_XbdJarFileFullPath_supportannotations)')" >
29- <Url >https://dl-ssl.google.com/android/repository/android_m2repository_r42.zip </Url >
29+ <Url >$XbdUrl$ </Url >
3030 <ToFile >support-annotations-$AarVersion$.jar</ToFile >
3131 <RangeStart >$XbdRangeStart$</RangeStart >
3232 <RangeEnd >$XbdRangeEnd$</RangeEnd >
You can’t perform that action at this time.
0 commit comments