Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 4a0693a

Browse files
committed
Change nuspec to target API 27 (8.1)
The support library major version # used should always match the compileSdkVersion, so for nuget, we enforce this by specifying the same MonoAndroid moniker version, in this case `MonoAndroid81` means the packages will only install in projects with a target framework of Android 8.1 or API 27.
1 parent 07c1401 commit 4a0693a

File tree

34 files changed

+101
-101
lines changed

34 files changed

+101
-101
lines changed

animated-vector-drawable/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/animated-vector-drawable_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Vector.Drawable" version="[$version$]" />
1818
</group>
1919
</dependencies>
2020
</metadata>
2121
<files>
22-
<file src="animated-vector-drawable/nuget/Xamarin.Android.Support.Animated.Vector.Drawable.targets" target="build/MonoAndroid80" />
23-
<file src="output/Xamarin.Android.Support.Animated.Vector.Drawable.dll" target="lib/MonoAndroid80" />
22+
<file src="animated-vector-drawable/nuget/Xamarin.Android.Support.Animated.Vector.Drawable.targets" target="build/MonoAndroid81" />
23+
<file src="output/Xamarin.Android.Support.Animated.Vector.Drawable.dll" target="lib/MonoAndroid81" />
2424
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
2525
</files>
2626
</package>

appcompat-v7/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/v7-appcompat_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Vector.Drawable" version="[$version$]" />
1818
<dependency id="Xamarin.Android.Support.Animated.Vector.Drawable" version="[$version$]" />
1919
<!-- Support V4 -->
@@ -26,8 +26,8 @@
2626
</dependencies>
2727
</metadata>
2828
<files>
29-
<file src="appcompat-v7/nuget/Xamarin.Android.Support.v7.AppCompat.targets" target="build/MonoAndroid80" />
30-
<file src="output/Xamarin.Android.Support.v7.AppCompat.dll" target="lib/MonoAndroid80" />
29+
<file src="appcompat-v7/nuget/Xamarin.Android.Support.v7.AppCompat.targets" target="build/MonoAndroid81" />
30+
<file src="output/Xamarin.Android.Support.v7.AppCompat.dll" target="lib/MonoAndroid81" />
3131
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
3232
</files>
3333
</package>

cardview-v7/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/cardview_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Annotations" version="[$version$]" />
1818
</group>
1919
</dependencies>
2020
</metadata>
2121
<files>
22-
<file src="cardview-v7/nuget/Xamarin.Android.Support.v7.CardView.targets" target="build/MonoAndroid80" />
23-
<file src="output/Xamarin.Android.Support.v7.CardView.dll" target="lib/MonoAndroid80" />
22+
<file src="cardview-v7/nuget/Xamarin.Android.Support.v7.CardView.targets" target="build/MonoAndroid81" />
23+
<file src="output/Xamarin.Android.Support.v7.CardView.dll" target="lib/MonoAndroid81" />
2424
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
2525
</files>
2626
</package>

customtabs/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/customtabs_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Compat" version="[$version$]" />
1818
</group>
1919
</dependencies>
2020
</metadata>
2121
<files>
22-
<file src="customtabs/nuget/Xamarin.Android.Support.CustomTabs.targets" target="build/MonoAndroid80" />
23-
<file src="output/Xamarin.Android.Support.CustomTabs.dll" target="lib/MonoAndroid80" />
22+
<file src="customtabs/nuget/Xamarin.Android.Support.CustomTabs.targets" target="build/MonoAndroid81" />
23+
<file src="output/Xamarin.Android.Support.CustomTabs.dll" target="lib/MonoAndroid81" />
2424
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
2525
</files>
2626
</package>

design/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/design_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.v7.AppCompat" version="[$version$]" />
1818
<dependency id="Xamarin.Android.Support.v7.RecyclerView" version="[$version$]" />
1919
<dependency id="Xamarin.Android.Support.Transition" version="[$version$]" />
@@ -27,8 +27,8 @@
2727
</dependencies>
2828
</metadata>
2929
<files>
30-
<file src="design/nuget/Xamarin.Android.Support.Design.targets" target="build/MonoAndroid80" />
31-
<file src="output/Xamarin.Android.Support.Design.dll" target="lib/MonoAndroid80" />
30+
<file src="design/nuget/Xamarin.Android.Support.Design.targets" target="build/MonoAndroid81" />
31+
<file src="output/Xamarin.Android.Support.Design.dll" target="lib/MonoAndroid81" />
3232
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
3333
</files>
3434
</package>

exifinterface/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/exifinterface_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Annotations" version="[$version$]" />
1818
</group>
1919
</dependencies>
2020
</metadata>
2121
<files>
22-
<file src="exifinterface/nuget/Xamarin.Android.Support.Exif.targets" target="build/MonoAndroid80" />
23-
<file src="output/Xamarin.Android.Support.Exif.dll" target="lib/MonoAndroid80" />
22+
<file src="exifinterface/nuget/Xamarin.Android.Support.Exif.targets" target="build/MonoAndroid81" />
23+
<file src="output/Xamarin.Android.Support.Exif.dll" target="lib/MonoAndroid81" />
2424
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
2525
</files>
2626
</package>

gridlayout-v7/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/gridlayout_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Compat" version="[$version$]" />
1818
<dependency id="Xamarin.Android.Support.Core.UI" version="[$version$]" />
1919
</group>
2020
</dependencies>
2121
</metadata>
2222
<files>
23-
<file src="gridlayout-v7/nuget/Xamarin.Android.Support.v7.GridLayout.targets" target="build/MonoAndroid80" />
24-
<file src="output/Xamarin.Android.Support.v7.GridLayout.dll" target="lib/MonoAndroid80" />
23+
<file src="gridlayout-v7/nuget/Xamarin.Android.Support.v7.GridLayout.targets" target="build/MonoAndroid81" />
24+
<file src="output/Xamarin.Android.Support.v7.GridLayout.dll" target="lib/MonoAndroid81" />
2525
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
2626
</files>
2727
</package>

leanback-v17/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/v17-leanback_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.v7.RecyclerView" version="[$version$]" />
1818
<!-- Support V4 -->
1919
<dependency id="Xamarin.Android.Support.Compat" version="[$version$]" />
@@ -25,8 +25,8 @@
2525
</dependencies>
2626
</metadata>
2727
<files>
28-
<file src="leanback-v17/nuget/Xamarin.Android.Support.v17.Leanback.targets" target="build/MonoAndroid80" />
29-
<file src="output/Xamarin.Android.Support.v17.Leanback.dll" target="lib/MonoAndroid80" />
28+
<file src="leanback-v17/nuget/Xamarin.Android.Support.v17.Leanback.targets" target="build/MonoAndroid81" />
29+
<file src="output/Xamarin.Android.Support.v17.Leanback.dll" target="lib/MonoAndroid81" />
3030
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
3131
</files>
3232
</package>

mediarouter-v7/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/v7-mediarouter_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.v7.AppCompat" version="[$version$]" />
1818
<dependency id="Xamarin.Android.Support.v7.Palette" version="[$version$]" />
1919
</group>
2020
</dependencies>
2121
</metadata>
2222
<files>
23-
<file src="mediarouter-v7/nuget/Xamarin.Android.Support.v7.MediaRouter.targets" target="build/MonoAndroid80" />
24-
<file src="output/Xamarin.Android.Support.v7.MediaRouter.dll" target="lib/MonoAndroid80" />
23+
<file src="mediarouter-v7/nuget/Xamarin.Android.Support.v7.MediaRouter.targets" target="build/MonoAndroid81" />
24+
<file src="output/Xamarin.Android.Support.v7.MediaRouter.dll" target="lib/MonoAndroid81" />
2525
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
2626
</files>
2727
</package>

palette-v7/nuget/template.nuspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
<licenseUrl>https://go.microsoft.com/fwlink/?linkid=865381</licenseUrl>
1414
<iconUrl>https://raw.githubusercontent.com/xamarin/AndroidSupportComponents/master/icons/v7-palette_128x128.png</iconUrl>
1515
<dependencies>
16-
<group targetFramework="MonoAndroid80">
16+
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Compat" version="[$version$]" />
1818
<dependency id="Xamarin.Android.Support.Core.Utils" version="[$version$]" />
1919
</group>
2020
</dependencies>
2121
</metadata>
2222
<files>
23-
<file src="palette-v7/nuget/Xamarin.Android.Support.v7.Palette.targets" target="build/MonoAndroid80" />
24-
<file src="output/Xamarin.Android.Support.v7.Palette.dll" target="lib/MonoAndroid80" />
23+
<file src="palette-v7/nuget/Xamarin.Android.Support.v7.Palette.targets" target="build/MonoAndroid81" />
24+
<file src="output/Xamarin.Android.Support.v7.Palette.dll" target="lib/MonoAndroid81" />
2525
<file src="External-Dependency-Info.txt" target="THIRD-PARTY-NOTICES.txt" />
2626
</files>
2727
</package>

0 commit comments

Comments
 (0)