Skip to content

Instantly share code, notes, and snippets.

@mattleibow
Created August 20, 2014 12:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattleibow/98dfcd1fa6dec7c65895 to your computer and use it in GitHub Desktop.
Save mattleibow/98dfcd1fa6dec7c65895 to your computer and use it in GitHub Desktop.
Xamarin.Android.Support nuspec
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Xamarin.Android.Support</id>
<version>20.0.0-alpha2</version>
<title>Android Support Library</title>
<authors>Xamarin,Inc.</authors>
<licenseUrl>http://components.xamarin.com/license/xamandroidsupportv4-18</licenseUrl>
<projectUrl>http://components.xamarin.com/view/xamandroidsupportv4-18</projectUrl>
<iconUrl>http://components.xamarin.com/resources/icons/component-824/icon_114x114.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>The Android Support Library package is a set of code libraries that provide backward-compatible versions of Android framework APIs as well as features that are only available through the library APIs. Each Support Library is backward-compatible to a specific Android API level. This design means that your applications can use the libraries' features and still be compatible with devices running old android flavors.</description>
<dependencies>
<group targetFramework="MonoAndroid1.6">
<dependency id="Xamarin.Android.Support.v4" />
</group>
<group targetFramework="MonoAndroid2.1">
<dependency id="Xamarin.Android.Support.v4" />
<dependency id="Xamarin.Android.Support.v7.AppCompat" />
<dependency id="Xamarin.Android.Support.v7.GridLayout" />
<dependency id="Xamarin.Android.Support.v7.MediaRouter" />
</group>
<group targetFramework="MonoAndroid3.2">
<dependency id="Xamarin.Android.Support.v7.AppCompat" />
<dependency id="Xamarin.Android.Support.v7.GridLayout" />
<dependency id="Xamarin.Android.Support.v7.MediaRouter" />
<dependency id="Xamarin.Android.Support.v13" />
</group>
</dependencies>
</metadata>
<files>
<file src="Xamarin.Android.Support.v4.dll" target="lib\MonoAndroid32\Xamarin.Android.Support.v4.dll" />
</files>
</package>
@mattleibow
Copy link
Author

This version uses all the version on NuGet already and only includes the type forwarding assembly in v13.

I was also thinking to create 3 NuGets:

  1. the minimal with just .vXX
  2. the full with the .vXX.YYY (depends on the minimal) to add the rest of the features
  3. the Preview with the full set of support libs including all the preview ones like Wear and Fit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment