Merge branch 'main' into mu-20240820

This commit is contained in:
moljac 2024-08-30 14:16:24 +02:00 коммит произвёл GitHub
Родитель 07528dba8c 0febd63147
Коммит 3d5b653004
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
34 изменённых файлов: 415 добавлений и 8557 удалений

Просмотреть файл

@ -1,487 +0,0 @@
#! "net6.0"
#r "nuget: MavenNet, 2.2.14"
#r "nuget: Newtonsoft.Json, 13.0.3"
#r "nuget: NuGet.Versioning, 6.7.0"
// Usage:
// dotnet tool install -g dotnet-script
// dotnet script update-config.csx -- ../../config.json <update|bump|published|sort>
// This script compares the versions of Java packages we are currently binding to the
// stable versions available in Google's Maven repository.
// update - Automatically update the specified configuration file
// bump - Apply NuGet revision bump to *all* packages
// published - Display which NuGet package versions are already published on NuGet.org
// sort - Sort the provided config.json without making any updates
using MavenNet;
using MavenNet.Models;
using Newtonsoft.Json;
using NuGet.Versioning;
using System.ComponentModel;
using System.Net.Http;
var options = new Options (Args);
var config = await ParseConfigurationFile (options.ConfigFile);
var external_deps = await GetExternalDependencies (options);
var serializer_settings = new JsonSerializerSettings { DefaultValueHandling = DefaultValueHandling.Ignore };
serializer_settings.Converters.Add (new Newtonsoft.Json.Converters.StringEnumConverter ());
// Keep file sorted by dependency only, then by groupid then by artifactid
foreach (var array in config)
array.Artifacts.Sort ((ArtifactModel a, ArtifactModel b) => string.Compare ($"{a.DependencyOnly}-{a.GroupId} {a.ArtifactId}", $"{b.DependencyOnly}-{b.GroupId} {b.ArtifactId}"));
// Query Maven
await MavenFactory.Initialize (config);
var column1 = ("Package" + (options.Published ? "" : " (* = Needs Update)")).PadRight (58);
var column2 = (options.Published ? "Version" : "Currently Bound").PadRight (17);
var column3 = (options.Published ? "Status" : "Latest Stable").PadRight (15);
Console.WriteLine ($"| {column1} | {column2} | {column3} |");
Console.WriteLine ("|------------------------------------------------------------|-------------------|-----------------|");
// Find the Maven artifact for each package in our configuration file
foreach (var art in config[0].Artifacts.Where (a => !a.DependencyOnly)) {
var a = FindMavenArtifact (config, art);
if (a is null)
continue;
var package_name = $"{art.GroupId}.{art.ArtifactId}";
var current_version = art.Version;
// Update packages we are binding
if (NeedsUpdate (art, a))
{
package_name = "* " + package_name;
// Update the JSON objects
if (options.Update)
{
var new_version = GetLatestVersion (a)?.ToString ();
var prefix = art.NugetVersion.StartsWith ("1" + art.Version + ".") ? "1" : string.Empty;
art.Version = new_version;
art.NugetVersion = prefix + new_version;
}
}
if (art.Frozen)
package_name = "# " + package_name;
// Bump the revision version of all NuGet versions
// If there isn't currently a revision version, make it ".1"
if (options.Bump)
{
string version = "";
string release = "";
int revision = 0;
var str = art.NugetVersion;
if (str.Contains ('-')) {
release = str.Substring (str.IndexOf ('-'));
str = str.Substring (0, str.LastIndexOf ('-'));
}
var period_count = str.Count (c => c == '.');
if (period_count == 2) {
version = str;
revision = 1;
} else if (period_count == 3) {
version = str.Substring (0, str.LastIndexOf ('.'));
revision = int.Parse (str.Substring (str.LastIndexOf ('.') + 1));
revision++;
}
art.NugetVersion = $"{version}.{revision}{release}";
}
if (options.Published) {
var status = (await DoesNuGetPackageAlreadyExist (art.NugetId, art.NugetVersion)) ? "Published" : "Not Published";
Console.WriteLine ($"| {art.NugetId.PadRight (58)} | {art.NugetVersion.PadRight (17)} | {status.PadRight (15)} |");
} else {
Console.WriteLine ($"| {package_name.PadRight (58)} | {current_version.PadRight (17)} | {(GetLatestVersion (a)?.ToString () ?? string.Empty).PadRight (15)} |");
}
}
// Update any "dependencyOnly: true" packages to the latest we can find
if (external_deps.Any ()) {
Console.WriteLine ();
var column1 = "Dependencies (* = Needs Update)".PadRight (58);
var column2 = (options.Published ? "Version" : "Current Reference").PadRight (17);
var column3 = (options.Published ? "Status" : "Latest Stable").PadRight (15);
Console.WriteLine ($"| {column1} | {column2} | {column3} |");
Console.WriteLine ("|------------------------------------------------------------|-------------------|-----------------|");
foreach (var art in config[0].Artifacts.Where (a => a.DependencyOnly && !a.Frozen)) {
var dep = external_deps.FirstOrDefault (d => d.NugetId == art.NugetId);
var current_version = art.NugetVersion;
// We need to ensure the NuGet dependency has actually been published
if (dep != null && await DoesNuGetPackageAlreadyExist (dep.NugetId, dep.NugetVersion)) {
art.Version = dep.Version;
art.NugetVersion = dep.NugetVersion;
}
var package_name = $"{art.GroupId}.{art.ArtifactId}";
if (current_version != art.NugetVersion)
package_name = "* " + package_name;
if (!options.Published)
Console.WriteLine ($"| {package_name.PadRight (58)} | {current_version.PadRight (17)} | {art.NugetVersion.PadRight (15)} |");
}
}
if (options.ShouldWriteOutput)
{
// Write updated config.json back to disk
var output = JsonConvert.SerializeObject (config, Formatting.Indented, serializer_settings);
File.WriteAllText (options.ConfigFile, output + Environment.NewLine);
}
static Artifact FindMavenArtifact (List<MyArray> config, ArtifactModel artifact)
{
var repo = MavenFactory.GetMavenRepository (config, artifact);
var group = repo.Groups.FirstOrDefault (g => artifact.GroupId == g.Id);
return group?.Artifacts?.FirstOrDefault (a => artifact.ArtifactId == a.Id);
}
static bool NeedsUpdate (ArtifactModel model, Artifact artifact)
{
// Don't update package if it's "Frozen"
if (model.Frozen)
return false;
// Get latest stable version
var latest = GetLatestVersion (artifact);
// No stable version
if (latest is null)
return false;
// Already on latest
var current = GetVersion (model.Version);
if (latest <= current)
return false;
return true;
}
public static SemanticVersion GetLatestVersion (Artifact artifact, bool includePrerelease = false)
{
var versions = artifact.Versions.Select(v => GetVersion (v));
// Handle 'com.google.guava.guava' which ships its release packages as ex: '33.1.0-android'
if (!includePrerelease)
versions = versions.Where (v => !v.IsPrerelease || v.Release == "android");
if (!versions.Any ())
return null;
return versions.Max ();
}
static SemanticVersion GetVersion (string s)
{
var hyphen = s.IndexOf ('-');
var version = hyphen >= 0 ? s.Substring (0, hyphen) : s;
var tag = hyphen >= 0 ? s.Substring (hyphen) : string.Empty;
// Stuff like: 1.1.1d-alpha-1
if (version.Any (c => char.IsLetter (c)))
return new SemanticVersion (0, 0, 0);
if (version.Count (c => c == '.') == 0)
version += ".0.0";
if (version.Count (c => c == '.') == 1)
version += ".0";
// SemanticVersion can't handle more than 3 parts, like '0.11.91.1'
if (version.Count (c => c == '.') > 2)
return new SemanticVersion (0, 0, 0);
return SemanticVersion.Parse (version + tag);
}
public static async Task<bool> DoesNuGetPackageAlreadyExist (string package, string version)
{
var url = $"https://www.nuget.org/api/v2/package/{package}/{version}";
using (var client = new HttpClient ()) {
var result = await client.GetAsync (url);
return result.StatusCode != System.Net.HttpStatusCode.NotFound;
}
}
static async Task<List<MyArray>> ParseConfigurationFile (string filename)
{
string json;
if (filename.StartsWith ("http")) {
// Configuration file URL
using (var client = new HttpClient ())
json = await client.GetStringAsync (filename);
} else {
// Local configuration file
if (string.IsNullOrWhiteSpace (filename) || !File.Exists (filename)) {
System.Console.WriteLine ($"Could not find configuration file: '{filename}'");
Environment.Exit (-1);
}
json = File.ReadAllText (filename);
}
return JsonConvert.DeserializeObject<List<MyArray>> (json);
}
static async Task<List<ArtifactModel>> GetExternalDependencies (Options options)
{
var list = new List<ArtifactModel> ();
foreach (var file in options.DependencyConfigs) {
var config = await ParseConfigurationFile (file);
list.AddRange (config.SelectMany (arr => arr.Artifacts.Where (a => !a.DependencyOnly)));
}
return list;
}
public static class MavenFactory
{
static readonly Dictionary<string, MavenRepository> repositories = new Dictionary<string, MavenRepository> ();
public static async Task Initialize (List<MyArray> config)
{
var artifact_mavens = new List<(MavenRepository, ArtifactModel)> ();
foreach (var artifact in config[0].Artifacts.Where (ma => !ma.DependencyOnly)) {
var (type, location) = GetMavenInfoForArtifact (config, artifact);
var repo = GetOrCreateRepository (type, location);
artifact_mavens.Add ((repo, artifact));
}
foreach (var maven_group in artifact_mavens.GroupBy (a => a.Item1)) {
var maven = maven_group.Key;
var artifacts = maven_group.Select (a => a.Item2);
foreach (var artifact_group in artifacts.GroupBy (a => a.GroupId)) {
var gid = artifact_group.Key;
var artifact_ids = artifact_group.Select (a => a.ArtifactId).ToArray ();
await maven.Populate (gid, artifact_ids);
}
}
}
public static MavenRepository GetMavenRepository (List<MyArray> config, ArtifactModel artifact)
{
var (type, location) = GetMavenInfoForArtifact (config, artifact);
var repo = GetOrCreateRepository (type, location);
return repo;
}
static (MavenRepoType type, string location) GetMavenInfoForArtifact (List<MyArray> config, ArtifactModel artifact)
{
var template = config[0].GetTemplateSet (artifact.TemplateSet);
if (template.MavenRepositoryType.HasValue)
return (template.MavenRepositoryType.Value, template.MavenRepositoryLocation);
return (config[0].MavenRepositoryType, config[0].MavenRepositoryLocation);
}
static MavenRepository GetOrCreateRepository (MavenRepoType type, string location)
{
var key = $"{type}|{location}";
if (repositories.TryGetValue (key, out MavenRepository repository))
return repository;
MavenRepository maven;
if (type == MavenRepoType.Directory)
maven = MavenRepository.FromDirectory (location);
else if (type == MavenRepoType.Url)
maven = MavenRepository.FromUrl (location);
else if (type == MavenRepoType.MavenCentral)
maven = MavenRepository.FromMavenCentral ();
else
maven = MavenRepository.FromGoogle ();
repositories.Add (key, maven);
return maven;
}
}
// Configuration File Model
public class Template
{
[JsonProperty ("templateFile")]
public string TemplateFile { get; set; }
[JsonProperty ("outputFileRule")]
public string OutputFileRule { get; set; }
}
public class TemplateSetModel
{
[JsonProperty ("name")]
public string Name { get; set; }
[JsonProperty ("mavenRepositoryType")]
public MavenRepoType? MavenRepositoryType { get; set; }
[JsonProperty ("mavenRepositoryLocation")]
public string MavenRepositoryLocation { get; set; } = null;
[JsonProperty ("templates")]
public List<Template> Templates { get; set; } = new List<Template> ();
}
public class ArtifactModel
{
[JsonProperty ("groupId")]
public string GroupId { get; set; }
[JsonProperty ("artifactId")]
public string ArtifactId { get; set; }
[JsonProperty ("version")]
public string Version { get; set; }
[JsonProperty ("nugetVersion")]
public string NugetVersion { get; set; }
[JsonProperty ("nugetId")]
public string NugetId { get; set; }
[DefaultValue ("")]
[JsonProperty ("dependencyOnly")]
public bool DependencyOnly { get; set; }
[JsonProperty ("frozen")]
public bool Frozen { get; set; }
[JsonProperty ("excludedRuntimeDependencies")]
public string ExcludedRuntimeDependencies { get; set; }
[JsonProperty("extraDependencies")]
public string ExtraDependencies { get; set; }
[JsonProperty ("templateSet")]
public string TemplateSet { get; set; }
[JsonProperty ("comments")]
public string Comments { get; set; }
[JsonProperty ("metadata")]
public Dictionary<string, string> Metadata { get; set; } = new Dictionary<string, string> ();
public bool ShouldSerializeMetadata () => Metadata.Any ();
}
public class MyArray
{
[JsonProperty ("mavenRepositoryType")]
public MavenRepoType MavenRepositoryType { get; set; }
[JsonProperty ("mavenRepositoryLocation")]
public string MavenRepositoryLocation { get; set; }
[JsonProperty ("slnFile")]
public string SlnFile { get; set; }
[JsonProperty ("strictRuntimeDependencies")]
public bool StrictRuntimeDependencies { get; set; }
[JsonProperty ("excludedRuntimeDependencies")]
public string ExcludedRuntimeDependencies { get; set; }
[JsonProperty ("additionalProjects")]
public List<string> AdditionalProjects { get; set; }
[JsonProperty ("templates")]
public List<Template> Templates { get; set; }
[JsonProperty ("artifacts")]
public List<ArtifactModel> Artifacts { get; set; }
[JsonProperty ("templateSets")]
public List<TemplateSetModel> TemplateSets { get; set; } = new List<TemplateSetModel> ();
public TemplateSetModel GetTemplateSet (string name)
{
// If an artifact doesn't specify a template set, first try using the original
// single template list if it exists. If not, look for a template set called "default".
if (string.IsNullOrEmpty (name)) {
if (Templates.Any ())
return new TemplateSetModel { Templates = Templates };
name = "default";
}
var set = TemplateSets.FirstOrDefault (s => s.Name == name);
if (set == null)
throw new ArgumentException ($"Could not find requested template set '{name}'");
return set;
}
}
public class Root
{
[JsonProperty ("MyArray")]
public List<MyArray> MyArray { get; set; }
}
public enum MavenRepoType
{
Url,
Directory,
Google,
MavenCentral
}
public class Options
{
public string ConfigFile { get; }
public bool Update { get; }
public bool Bump { get; }
public bool Sort { get; }
public bool Published { get; }
public List<string> DependencyConfigs { get; }
public Options (IList<string> args)
{
// Config file must always be the first argument
ConfigFile = args[0];
Update = args.Any (a => a.ToLowerInvariant () == "update");
Bump = args.Any (a => a.ToLowerInvariant () == "bump");
Sort = args.Any (a => a.ToLowerInvariant () == "sort");
Published = args.Any (a => a.ToLowerInvariant () == "published");
DependencyConfigs = args.Where (a => a.StartsWith ("-dep:")).Select (a => a.Substring (5)).ToList ();
}
public bool ShouldWriteOutput => Update || Bump || Sort;
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,348 +0,0 @@
# Artifacts with versions supported
| | | | | |
|----|----------------------------------------------------------------------|--------------------|----------------------------------------------------------------------|--------------------|
| 1|androidx.activity:activity |1.9.1 |Xamarin.AndroidX.Activity |1.9.1 |
| 2|androidx.activity:activity-compose |1.9.1 |Xamarin.AndroidX.Activity.Compose |1.9.1 |
| 3|androidx.activity:activity-ktx |1.9.1 |Xamarin.AndroidX.Activity.Ktx |1.9.1 |
| 4|androidx.ads:ads-identifier |1.0.0-alpha05 |Xamarin.AndroidX.Ads.Identifier |1.0.0.26-alpha05 |
| 5|androidx.ads:ads-identifier-common |1.0.0-alpha05 |Xamarin.AndroidX.Ads.IdentifierCommon |1.0.0.26-alpha05 |
| 6|androidx.ads:ads-identifier-provider |1.0.0-alpha05 |Xamarin.AndroidX.Ads.IdentifierProvider |1.0.0.26-alpha05 |
| 7|androidx.annotation:annotation |1.8.2 |Xamarin.AndroidX.Annotation |1.8.2 |
| 8|androidx.annotation:annotation-experimental |1.4.1 |Xamarin.AndroidX.Annotation.Experimental |1.4.1.4 |
| 9|androidx.annotation:annotation-jvm |1.8.2 |Xamarin.AndroidX.Annotation.Jvm |1.8.2 |
| 10|androidx.appcompat:appcompat |1.7.0 |Xamarin.AndroidX.AppCompat |1.7.0.1 |
| 11|androidx.appcompat:appcompat-resources |1.7.0 |Xamarin.AndroidX.AppCompat.AppCompatResources |1.7.0.1 |
| 12|androidx.arch.core:core-common |2.2.0 |Xamarin.AndroidX.Arch.Core.Common |2.2.0.11 |
| 13|androidx.arch.core:core-runtime |2.2.0 |Xamarin.AndroidX.Arch.Core.Runtime |2.2.0.11 |
| 14|androidx.asynclayoutinflater:asynclayoutinflater |1.0.0 |Xamarin.AndroidX.AsyncLayoutInflater |1.0.0.27 |
| 15|androidx.autofill:autofill |1.1.0 |Xamarin.AndroidX.AutoFill |1.1.0.26 |
| 16|androidx.biometric:biometric |1.1.0 |Xamarin.AndroidX.Biometric |1.1.0.23 |
| 17|androidx.browser:browser |1.8.0 |Xamarin.AndroidX.Browser |1.8.0.4 |
| 18|androidx.camera:camera-camera2 |1.3.4 |Xamarin.AndroidX.Camera.Camera2 |1.3.4.1 |
| 19|androidx.camera:camera-core |1.3.4 |Xamarin.AndroidX.Camera.Core |1.3.4.1 |
| 20|androidx.camera:camera-extensions |1.3.4 |Xamarin.AndroidX.Camera.Extensions |1.3.4.1 |
| 21|androidx.camera:camera-lifecycle |1.3.4 |Xamarin.AndroidX.Camera.Lifecycle |1.3.4.1 |
| 22|androidx.camera:camera-video |1.3.4 |Xamarin.AndroidX.Camera.Video |1.3.4.1 |
| 23|androidx.camera:camera-view |1.3.4 |Xamarin.AndroidX.Camera.View |1.3.4.1 |
| 24|androidx.car:car |1.0.0-alpha7 |Xamarin.AndroidX.Car.Car |1.0.0.25-alpha7 |
| 25|androidx.car:car-cluster |1.0.0-alpha5 |Xamarin.AndroidX.Car.Cluster |1.0.0.25-alpha5 |
| 26|androidx.car.app:app |1.4.0 |Xamarin.AndroidX.Car.App.App |1.4.0.1 |
| 27|androidx.cardview:cardview |1.0.0 |Xamarin.AndroidX.CardView |1.0.0.29 |
| 28|androidx.collection:collection |1.4.3 |Xamarin.AndroidX.Collection |1.4.3 |
| 29|androidx.collection:collection-jvm |1.4.3 |Xamarin.AndroidX.Collection.Jvm |1.4.3 |
| 30|androidx.collection:collection-ktx |1.4.3 |Xamarin.AndroidX.Collection.Ktx |1.4.3 |
| 31|androidx.compose.animation:animation |1.6.8 |Xamarin.AndroidX.Compose.Animation |1.6.8.1 |
| 32|androidx.compose.animation:animation-android |1.6.8 |Xamarin.AndroidX.Compose.Animation.Android |1.6.8.1 |
| 33|androidx.compose.animation:animation-core |1.6.8 |Xamarin.AndroidX.Compose.Animation.Core |1.6.8.1 |
| 34|androidx.compose.animation:animation-core-android |1.6.8 |Xamarin.AndroidX.Compose.Animation.Core.Android |1.6.8.1 |
| 35|androidx.compose.animation:animation-graphics |1.6.8 |Xamarin.AndroidX.Compose.Animation.Graphics |1.6.8.1 |
| 36|androidx.compose.animation:animation-graphics-android |1.6.8 |Xamarin.AndroidX.Compose.Animation.Graphics.Android |1.6.8.1 |
| 37|androidx.compose.foundation:foundation |1.6.8 |Xamarin.AndroidX.Compose.Foundation |1.6.8.1 |
| 38|androidx.compose.foundation:foundation-android |1.6.8 |Xamarin.AndroidX.Compose.Foundation.Android |1.6.8.1 |
| 39|androidx.compose.foundation:foundation-layout |1.6.8 |Xamarin.AndroidX.Compose.Foundation.Layout |1.6.8.1 |
| 40|androidx.compose.foundation:foundation-layout-android |1.6.8 |Xamarin.AndroidX.Compose.Foundation.Layout.Android |1.6.8.1 |
| 41|androidx.compose.material:material |1.6.8 |Xamarin.AndroidX.Compose.Material |1.6.8.1 |
| 42|androidx.compose.material:material-android |1.6.8 |Xamarin.AndroidX.Compose.Material.Android |1.6.8.1 |
| 43|androidx.compose.material:material-icons-core |1.6.8 |Xamarin.AndroidX.Compose.Material.Icons.Core |1.6.8.1 |
| 44|androidx.compose.material:material-icons-core-android |1.6.8 |Xamarin.AndroidX.Compose.Material.Icons.Core.Android |1.6.8.1 |
| 45|androidx.compose.material:material-icons-extended |1.6.8 |Xamarin.AndroidX.Compose.Material.Icons.Extended |1.6.8.1 |
| 46|androidx.compose.material:material-icons-extended-android |1.6.8 |Xamarin.AndroidX.Compose.Material.Icons.Extended.Android |1.6.8.1 |
| 47|androidx.compose.material:material-ripple |1.6.8 |Xamarin.AndroidX.Compose.Material.Ripple |1.6.8.1 |
| 48|androidx.compose.material:material-ripple-android |1.6.8 |Xamarin.AndroidX.Compose.Material.Ripple.Android |1.6.8.1 |
| 49|androidx.compose.material3:material3 |1.2.1 |Xamarin.AndroidX.Compose.Material3 |1.2.1.4 |
| 50|androidx.compose.material3:material3-android |1.2.1 |Xamarin.AndroidX.Compose.Material3Android |1.2.1.4 |
| 51|androidx.compose.material3:material3-window-size-class |1.2.1 |Xamarin.AndroidX.Compose.Material3.WindowSizeClass |1.2.1.4 |
| 52|androidx.compose.material3:material3-window-size-class-android |1.2.1 |Xamarin.AndroidX.Compose.Material3.WindowSizeClassAndroid |1.2.1.4 |
| 53|androidx.compose.runtime:runtime |1.6.8 |Xamarin.AndroidX.Compose.Runtime |1.6.8.1 |
| 54|androidx.compose.runtime:runtime-android |1.6.8 |Xamarin.AndroidX.Compose.Runtime.Android |1.6.8.1 |
| 55|androidx.compose.runtime:runtime-livedata |1.6.8 |Xamarin.AndroidX.Compose.Runtime.LiveData |1.6.8.1 |
| 56|androidx.compose.runtime:runtime-rxjava2 |1.6.8 |Xamarin.AndroidX.Compose.Runtime.RxJava2 |1.6.8.1 |
| 57|androidx.compose.runtime:runtime-rxjava3 |1.6.8 |Xamarin.AndroidX.Compose.Runtime.RxJava3 |1.6.8.1 |
| 58|androidx.compose.runtime:runtime-saveable |1.6.8 |Xamarin.AndroidX.Compose.Runtime.Saveable |1.6.8.1 |
| 59|androidx.compose.runtime:runtime-saveable-android |1.6.8 |Xamarin.AndroidX.Compose.Runtime.Saveable.Android |1.6.8.1 |
| 60|androidx.compose.ui:ui |1.6.8 |Xamarin.AndroidX.Compose.UI |1.6.8.1 |
| 61|androidx.compose.ui:ui-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Android |1.6.8.1 |
| 62|androidx.compose.ui:ui-geometry |1.6.8 |Xamarin.AndroidX.Compose.UI.Geometry |1.6.8.1 |
| 63|androidx.compose.ui:ui-geometry-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Geometry.Android |1.6.8.1 |
| 64|androidx.compose.ui:ui-graphics |1.6.8 |Xamarin.AndroidX.Compose.UI.Graphics |1.6.8.1 |
| 65|androidx.compose.ui:ui-graphics-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Graphics.Android |1.6.8.1 |
| 66|androidx.compose.ui:ui-text |1.6.8 |Xamarin.AndroidX.Compose.UI.Text |1.6.8.1 |
| 67|androidx.compose.ui:ui-text-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Text.Android |1.6.8.1 |
| 68|androidx.compose.ui:ui-tooling |1.6.8 |Xamarin.AndroidX.Compose.UI.Tooling |1.6.8.1 |
| 69|androidx.compose.ui:ui-tooling-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Tooling.Android |1.6.8.1 |
| 70|androidx.compose.ui:ui-tooling-data |1.6.8 |Xamarin.AndroidX.Compose.UI.Tooling.Data |1.6.8.1 |
| 71|androidx.compose.ui:ui-tooling-data-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Tooling.Data.Android |1.6.8.1 |
| 72|androidx.compose.ui:ui-tooling-preview |1.6.8 |Xamarin.AndroidX.Compose.UI.Tooling.Preview |1.6.8.1 |
| 73|androidx.compose.ui:ui-tooling-preview-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Tooling.Preview.Android |1.6.8.1 |
| 74|androidx.compose.ui:ui-unit |1.6.8 |Xamarin.AndroidX.Compose.UI.Unit |1.6.8.1 |
| 75|androidx.compose.ui:ui-unit-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Unit.Android |1.6.8.1 |
| 76|androidx.compose.ui:ui-util |1.6.8 |Xamarin.AndroidX.Compose.UI.Util |1.6.8.1 |
| 77|androidx.compose.ui:ui-util-android |1.6.8 |Xamarin.AndroidX.Compose.UI.Util.Android |1.6.8.1 |
| 78|androidx.compose.ui:ui-viewbinding |1.6.8 |Xamarin.AndroidX.Compose.UI.ViewBinding |1.6.8.1 |
| 79|androidx.concurrent:concurrent-futures |1.2.0 |Xamarin.AndroidX.Concurrent.Futures |1.2.0.1 |
| 80|androidx.concurrent:concurrent-futures-ktx |1.2.0 |Xamarin.AndroidX.Concurrent.Futures.Ktx |1.2.0.1 |
| 81|androidx.constraintlayout:constraintlayout |2.1.4 |Xamarin.AndroidX.ConstraintLayout |2.1.4.14 |
| 82|androidx.constraintlayout:constraintlayout-core |1.0.4 |Xamarin.AndroidX.ConstraintLayout.Core |1.0.4.14 |
| 83|androidx.constraintlayout:constraintlayout-solver |2.0.4 |Xamarin.AndroidX.ConstraintLayout.Solver |2.0.4.22 |
| 84|androidx.contentpager:contentpager |1.0.0 |Xamarin.AndroidX.ContentPager |1.0.0.27 |
| 85|androidx.coordinatorlayout:coordinatorlayout |1.2.0 |Xamarin.AndroidX.CoordinatorLayout |1.2.0.15 |
| 86|androidx.core:core |1.13.1 |Xamarin.AndroidX.Core |1.13.1.3 |
| 87|androidx.core:core-animation |1.0.0 |Xamarin.AndroidX.Core.Animation |1.0.0.1 |
| 88|androidx.core:core-google-shortcuts |1.1.0 |Xamarin.AndroidX.Core.GoogleShortcuts |1.1.0.12 |
| 89|androidx.core:core-ktx |1.13.1 |Xamarin.AndroidX.Core.Core.Ktx |1.13.1.3 |
| 90|androidx.core:core-role |1.0.0 |Xamarin.AndroidX.Core.Role |1.0.0.25 |
| 91|androidx.core:core-splashscreen |1.0.1 |Xamarin.AndroidX.Core.SplashScreen |1.0.1.10 |
| 92|androidx.credentials:credentials |1.2.2 |Xamarin.AndroidX.Credentials |1.2.2.4 |
| 93|androidx.credentials:credentials-play-services-auth |1.2.2 |Xamarin.AndroidX.Credentials.PlayServicesAuth |1.2.2.4 |
| 94|androidx.cursoradapter:cursoradapter |1.0.0 |Xamarin.AndroidX.CursorAdapter |1.0.0.27 |
| 95|androidx.customview:customview |1.1.0 |Xamarin.AndroidX.CustomView |1.1.0.26 |
| 96|androidx.customview:customview-poolingcontainer |1.0.0 |Xamarin.AndroidX.CustomView.PoolingContainer |1.0.0.13 |
| 97|androidx.databinding:databinding-adapters |8.5.2 |Xamarin.AndroidX.DataBinding.DataBindingAdapters |8.5.2 |
| 98|androidx.databinding:databinding-common |8.5.2 |Xamarin.AndroidX.DataBinding.DataBindingCommon |8.5.2 |
| 99|androidx.databinding:databinding-runtime |8.5.2 |Xamarin.AndroidX.DataBinding.DataBindingRuntime |8.5.2 |
| 100|androidx.databinding:viewbinding |8.5.2 |Xamarin.AndroidX.DataBinding.ViewBinding |8.5.2 |
| 101|androidx.datastore:datastore |1.1.1 |Xamarin.AndroidX.DataStore |1.1.1.4 |
| 102|androidx.datastore:datastore-android |1.1.1 |Xamarin.AndroidX.DataStore.Android |1.1.1.4 |
| 103|androidx.datastore:datastore-core |1.1.1 |Xamarin.AndroidX.DataStore.Core |1.1.1.4 |
| 104|androidx.datastore:datastore-core-android |1.1.1 |Xamarin.AndroidX.DataStore.Core.Android |1.1.1.4 |
| 105|androidx.datastore:datastore-core-jvm |1.1.1 |Xamarin.AndroidX.DataStore.Core.Jvm |1.1.1.4 |
| 106|androidx.datastore:datastore-core-okio |1.1.1 |Xamarin.AndroidX.DataStore.Core.OkIO |1.1.1.4 |
| 107|androidx.datastore:datastore-core-okio-jvm |1.1.1 |Xamarin.AndroidX.DataStore.Core.OkIO.Jvm |1.1.1.4 |
| 108|androidx.datastore:datastore-preferences |1.1.1 |Xamarin.AndroidX.DataStore.Preferences |1.1.1.4 |
| 109|androidx.datastore:datastore-preferences-android |1.1.1 |Xamarin.AndroidX.DataStore.Preferences.Android |1.1.1.4 |
| 110|androidx.datastore:datastore-preferences-core |1.1.1 |Xamarin.AndroidX.DataStore.Preferences.Core |1.1.1.4 |
| 111|androidx.datastore:datastore-preferences-core-jvm |1.1.1 |Xamarin.AndroidX.DataStore.Preferences.Core.Jvm |1.1.1.4 |
| 112|androidx.datastore:datastore-rxjava2 |1.1.1 |Xamarin.AndroidX.DataStore.RxJava2 |1.1.1.4 |
| 113|androidx.datastore:datastore-rxjava3 |1.1.1 |Xamarin.AndroidX.DataStore.RxJava3 |1.1.1.4 |
| 114|androidx.documentfile:documentfile |1.0.1 |Xamarin.AndroidX.DocumentFile |1.0.1.27 |
| 115|androidx.drawerlayout:drawerlayout |1.2.0 |Xamarin.AndroidX.DrawerLayout |1.2.0.11 |
| 116|androidx.dynamicanimation:dynamicanimation |1.0.0 |Xamarin.AndroidX.DynamicAnimation |1.0.0.27 |
| 117|androidx.emoji:emoji |1.1.0 |Xamarin.AndroidX.Emoji |1.1.0.22 |
| 118|androidx.emoji:emoji-appcompat |1.1.0 |Xamarin.AndroidX.Emoji.AppCompat |1.1.0.22 |
| 119|androidx.emoji:emoji-bundled |1.1.0 |Xamarin.AndroidX.Emoji.Bundled |1.1.0.22 |
| 120|androidx.emoji2:emoji2 |1.4.0 |Xamarin.AndroidX.Emoji2 |1.4.0.8 |
| 121|androidx.emoji2:emoji2-bundled |1.4.0 |Xamarin.AndroidX.Emoji2.Bundled |1.4.0.8 |
| 122|androidx.emoji2:emoji2-emojipicker |1.4.0 |Xamarin.AndroidX.Emoji2.EmojiPicker |1.4.0.8 |
| 123|androidx.emoji2:emoji2-views |1.4.0 |Xamarin.AndroidX.Emoji2.Views |1.4.0.8 |
| 124|androidx.emoji2:emoji2-views-helper |1.4.0 |Xamarin.AndroidX.Emoji2.ViewsHelper |1.4.0.8 |
| 125|androidx.enterprise:enterprise-feedback |1.1.0 |Xamarin.AndroidX.Enterprise.Feedback |1.1.0.13 |
| 126|androidx.exifinterface:exifinterface |1.3.7 |Xamarin.AndroidX.ExifInterface |1.3.7.5 |
| 127|androidx.fragment:fragment |1.8.2 |Xamarin.AndroidX.Fragment |1.8.2 |
| 128|androidx.fragment:fragment-ktx |1.8.2 |Xamarin.AndroidX.Fragment.Ktx |1.8.2 |
| 129|androidx.gridlayout:gridlayout |1.0.0 |Xamarin.AndroidX.GridLayout |1.0.0.27 |
| 130|androidx.heifwriter:heifwriter |1.0.0 |Xamarin.AndroidX.HeifWriter |1.0.0.27 |
| 131|androidx.interpolator:interpolator |1.0.0 |Xamarin.AndroidX.Interpolator |1.0.0.27 |
| 132|androidx.leanback:leanback |1.0.0 |Xamarin.AndroidX.Leanback |1.0.0.29 |
| 133|androidx.leanback:leanback-preference |1.0.0 |Xamarin.AndroidX.Leanback.Preference |1.0.0.27 |
| 134|androidx.legacy:legacy-preference-v14 |1.0.0 |Xamarin.AndroidX.Legacy.Preference.V14 |1.0.0.27 |
| 135|androidx.legacy:legacy-support-core-ui |1.0.0 |Xamarin.AndroidX.Legacy.Support.Core.UI |1.0.0.28 |
| 136|androidx.legacy:legacy-support-core-utils |1.0.0 |Xamarin.AndroidX.Legacy.Support.Core.Utils |1.0.0.27 |
| 137|androidx.legacy:legacy-support-v13 |1.0.0 |Xamarin.AndroidX.Legacy.Support.V13 |1.0.0.27 |
| 138|androidx.legacy:legacy-support-v4 |1.0.0 |Xamarin.AndroidX.Legacy.Support.V4 |1.0.0.27 |
| 139|androidx.lifecycle:lifecycle-common |2.8.4 |Xamarin.AndroidX.Lifecycle.Common |2.8.4 |
| 140|androidx.lifecycle:lifecycle-common-java8 |2.8.4 |Xamarin.AndroidX.Lifecycle.Common.Java8 |2.8.4 |
| 141|androidx.lifecycle:lifecycle-common-jvm |2.8.4 |Xamarin.AndroidX.Lifecycle.Common.Jvm |2.8.4 |
| 142|androidx.lifecycle:lifecycle-extensions |2.2.0 |Xamarin.AndroidX.Lifecycle.Extensions |2.2.0.27 |
| 143|androidx.lifecycle:lifecycle-livedata |2.8.4 |Xamarin.AndroidX.Lifecycle.LiveData |2.8.4 |
| 144|androidx.lifecycle:lifecycle-livedata-core |2.8.4 |Xamarin.AndroidX.Lifecycle.LiveData.Core |2.8.4 |
| 145|androidx.lifecycle:lifecycle-livedata-core-ktx |2.8.4 |Xamarin.AndroidX.Lifecycle.LiveData.Core.Ktx |2.8.4 |
| 146|androidx.lifecycle:lifecycle-livedata-ktx |2.8.4 |Xamarin.AndroidX.Lifecycle.LiveData.Ktx |2.8.4 |
| 147|androidx.lifecycle:lifecycle-process |2.8.4 |Xamarin.AndroidX.Lifecycle.Process |2.8.4 |
| 148|androidx.lifecycle:lifecycle-reactivestreams |2.8.4 |Xamarin.AndroidX.Lifecycle.ReactiveStreams |2.8.4 |
| 149|androidx.lifecycle:lifecycle-reactivestreams-ktx |2.8.4 |Xamarin.AndroidX.Lifecycle.ReactiveStreams.Ktx |2.8.4 |
| 150|androidx.lifecycle:lifecycle-runtime |2.8.4 |Xamarin.AndroidX.Lifecycle.Runtime |2.8.4 |
| 151|androidx.lifecycle:lifecycle-runtime-android |2.8.4 |Xamarin.AndroidX.Lifecycle.Runtime.Android |2.8.4 |
| 152|androidx.lifecycle:lifecycle-runtime-ktx |2.8.4 |Xamarin.AndroidX.Lifecycle.Runtime.Ktx |2.8.4 |
| 153|androidx.lifecycle:lifecycle-runtime-ktx-android |2.8.4 |Xamarin.AndroidX.Lifecycle.Runtime.Ktx.Android |2.8.4 |
| 154|androidx.lifecycle:lifecycle-service |2.8.4 |Xamarin.AndroidX.Lifecycle.Service |2.8.4 |
| 155|androidx.lifecycle:lifecycle-viewmodel |2.8.4 |Xamarin.AndroidX.Lifecycle.ViewModel |2.8.4 |
| 156|androidx.lifecycle:lifecycle-viewmodel-android |2.8.4 |Xamarin.AndroidX.Lifecycle.ViewModel.Android |2.8.4 |
| 157|androidx.lifecycle:lifecycle-viewmodel-compose |2.8.4 |Xamarin.AndroidX.Lifecycle.ViewModel.Compose |2.8.4 |
| 158|androidx.lifecycle:lifecycle-viewmodel-compose-android |2.8.4 |Xamarin.AndroidX.Lifecycle.ViewModel.Compose.Android |2.8.4 |
| 159|androidx.lifecycle:lifecycle-viewmodel-ktx |2.8.4 |Xamarin.AndroidX.Lifecycle.ViewModel.Ktx |2.8.4 |
| 160|androidx.lifecycle:lifecycle-viewmodel-savedstate |2.8.4 |Xamarin.AndroidX.Lifecycle.ViewModelSavedState |2.8.4 |
| 161|androidx.loader:loader |1.1.0 |Xamarin.AndroidX.Loader |1.1.0.27 |
| 162|androidx.localbroadcastmanager:localbroadcastmanager |1.1.0 |Xamarin.AndroidX.LocalBroadcastManager |1.1.0.15 |
| 163|androidx.media:media |1.7.0 |Xamarin.AndroidX.Media |1.7.0.5 |
| 164|androidx.media2:media2-common |1.3.0 |Xamarin.AndroidX.Media2.Common |1.3.0.5 |
| 165|androidx.media2:media2-session |1.3.0 |Xamarin.AndroidX.Media2.Session |1.3.0.5 |
| 166|androidx.media2:media2-widget |1.3.0 |Xamarin.AndroidX.Media2.Widget |1.3.0.5 |
| 167|androidx.media3:media3-cast |1.2.1 |Xamarin.AndroidX.Media3.Cast |1.2.1 |
| 168|androidx.media3:media3-common |1.2.1 |Xamarin.AndroidX.Media3.Common |1.2.1 |
| 169|androidx.media3:media3-container |1.2.1 |Xamarin.AndroidX.Media3.Container |1.2.1 |
| 170|androidx.media3:media3-database |1.2.1 |Xamarin.AndroidX.Media3.Database |1.2.1 |
| 171|androidx.media3:media3-datasource |1.2.1 |Xamarin.AndroidX.Media3.DataSource |1.2.1 |
| 172|androidx.media3:media3-datasource-cronet |1.2.1 |Xamarin.AndroidX.Media3.DataSource.CroNet |1.2.1 |
| 173|androidx.media3:media3-datasource-rtmp |1.2.1 |Xamarin.AndroidX.Media3.DataSource.Rtmp |1.2.1 |
| 174|androidx.media3:media3-decoder |1.2.1 |Xamarin.AndroidX.Media3.Decoder |1.2.1 |
| 175|androidx.media3:media3-effect |1.2.1 |Xamarin.AndroidX.Media3.Effect |1.2.1 |
| 176|androidx.media3:media3-exoplayer |1.2.1 |Xamarin.AndroidX.Media3.ExoPlayer |1.2.1 |
| 177|androidx.media3:media3-exoplayer-dash |1.2.1 |Xamarin.AndroidX.Media3.ExoPlayer.Dash |1.2.1 |
| 178|androidx.media3:media3-exoplayer-hls |1.2.1 |Xamarin.AndroidX.Media3.ExoPlayer.Hls |1.2.1 |
| 179|androidx.media3:media3-exoplayer-rtsp |1.2.1 |Xamarin.AndroidX.Media3.ExoPlayer.Rtsp |1.2.1 |
| 180|androidx.media3:media3-exoplayer-smoothstreaming |1.2.1 |Xamarin.AndroidX.Media3.ExoPlayer.SmoothStreaming |1.2.1 |
| 181|androidx.media3:media3-exoplayer-workmanager |1.2.1 |Xamarin.AndroidX.Media3.ExoPlayer.WorkManager |1.2.1 |
| 182|androidx.media3:media3-extractor |1.2.1 |Xamarin.AndroidX.Media3.Extractor |1.2.1 |
| 183|androidx.media3:media3-muxer |1.2.1 |Xamarin.AndroidX.Media3.Muxer |1.2.1 |
| 184|androidx.media3:media3-session |1.2.1 |Xamarin.AndroidX.Media3.Session |1.2.1 |
| 185|androidx.media3:media3-transformer |1.2.1 |Xamarin.AndroidX.Media3.Transformer |1.2.1 |
| 186|androidx.media3:media3-ui |1.2.1 |Xamarin.AndroidX.Media3.Ui |1.2.1 |
| 187|androidx.media3:media3-ui-leanback |1.2.1 |Xamarin.AndroidX.Media3.Ui.Leanback |1.2.1 |
| 188|androidx.mediarouter:mediarouter |1.7.0 |Xamarin.AndroidX.MediaRouter |1.7.0.4 |
| 189|androidx.multidex:multidex |2.0.1 |Xamarin.AndroidX.MultiDex |2.0.1.27 |
| 190|androidx.navigation:navigation-common |2.7.7 |Xamarin.AndroidX.Navigation.Common |2.7.7.5 |
| 191|androidx.navigation:navigation-common-ktx |2.7.7 |Xamarin.AndroidX.Navigation.Common.Ktx |2.7.7.5 |
| 192|androidx.navigation:navigation-compose |2.7.7 |Xamarin.AndroidX.Navigation.Compose |2.7.7.5 |
| 193|androidx.navigation:navigation-fragment |2.7.7 |Xamarin.AndroidX.Navigation.Fragment |2.7.7.5 |
| 194|androidx.navigation:navigation-fragment-ktx |2.7.7 |Xamarin.AndroidX.Navigation.Fragment.Ktx |2.7.7.5 |
| 195|androidx.navigation:navigation-runtime |2.7.7 |Xamarin.AndroidX.Navigation.Runtime |2.7.7.5 |
| 196|androidx.navigation:navigation-runtime-ktx |2.7.7 |Xamarin.AndroidX.Navigation.Runtime.Ktx |2.7.7.5 |
| 197|androidx.navigation:navigation-ui |2.7.7 |Xamarin.AndroidX.Navigation.UI |2.7.7.5 |
| 198|androidx.navigation:navigation-ui-ktx |2.7.7 |Xamarin.AndroidX.Navigation.UI.Ktx |2.7.7.5 |
| 199|androidx.paging:paging-common |3.3.2 |Xamarin.AndroidX.Paging.Common |3.3.2 |
| 200|androidx.paging:paging-common-jvm |3.3.2 |Xamarin.AndroidX.Paging.Common.Jvm |3.3.2 |
| 201|androidx.paging:paging-common-ktx |3.3.2 |Xamarin.AndroidX.Paging.Common.Ktx |3.3.2 |
| 202|androidx.paging:paging-runtime |3.3.2 |Xamarin.AndroidX.Paging.Runtime |3.3.2 |
| 203|androidx.paging:paging-runtime-ktx |3.3.2 |Xamarin.AndroidX.Paging.Runtime.Ktx |3.3.2 |
| 204|androidx.paging:paging-rxjava2 |3.3.2 |Xamarin.AndroidX.Paging.RxJava2 |3.3.2 |
| 205|androidx.paging:paging-rxjava2-ktx |3.3.2 |Xamarin.AndroidX.Paging.RxJava2.Ktx |3.3.2 |
| 206|androidx.palette:palette |1.0.0 |Xamarin.AndroidX.Palette |1.0.0.27 |
| 207|androidx.palette:palette-ktx |1.0.0 |Xamarin.AndroidX.Palette.Palette.Ktx |1.0.0.20 |
| 208|androidx.percentlayout:percentlayout |1.0.0 |Xamarin.AndroidX.PercentLayout |1.0.0.28 |
| 209|androidx.preference:preference |1.2.1 |Xamarin.AndroidX.Preference |1.2.1.8 |
| 210|androidx.preference:preference-ktx |1.2.1 |Xamarin.AndroidX.Preference.Preference.Ktx |1.2.1.8 |
| 211|androidx.print:print |1.0.0 |Xamarin.AndroidX.Print |1.0.0.27 |
| 212|androidx.privacysandbox.ads:ads-adservices |1.0.0-beta05 |Xamarin.AndroidX.PrivacySandbox.Ads.AdsServices |1.0.0.1-beta05 |
| 213|androidx.privacysandbox.ads:ads-adservices-java |1.0.0-beta05 |Xamarin.AndroidX.PrivacySandbox.Ads.AdsServices.Java |1.0.0.1-beta05 |
| 214|androidx.profileinstaller:profileinstaller |1.3.1 |Xamarin.AndroidX.ProfileInstaller.ProfileInstaller |1.3.1.10 |
| 215|androidx.recommendation:recommendation |1.0.0 |Xamarin.AndroidX.Recommendation |1.0.0.27 |
| 216|androidx.recyclerview:recyclerview |1.3.2 |Xamarin.AndroidX.RecyclerView |1.3.2.6 |
| 217|androidx.recyclerview:recyclerview-selection |1.1.0 |Xamarin.AndroidX.RecyclerView.Selection |1.1.0.21 |
| 218|androidx.resourceinspection:resourceinspection-annotation |1.0.1 |Xamarin.AndroidX.ResourceInspection.Annotation |1.0.1.15 |
| 219|androidx.room:room-common |2.6.1 |Xamarin.AndroidX.Room.Common |2.6.1.5 |
| 220|androidx.room:room-guava |2.6.1 |Xamarin.AndroidX.Room.Guava |2.6.1.5 |
| 221|androidx.room:room-ktx |2.6.1 |Xamarin.AndroidX.Room.Room.Ktx |2.6.1.5 |
| 222|androidx.room:room-runtime |2.6.1 |Xamarin.AndroidX.Room.Runtime |2.6.1.5 |
| 223|androidx.room:room-rxjava2 |2.6.1 |Xamarin.AndroidX.Room.Room.RxJava2 |2.6.1.5 |
| 224|androidx.room:room-rxjava3 |2.6.1 |Xamarin.AndroidX.Room.Room.RxJava3 |2.6.1.5 |
| 225|androidx.savedstate:savedstate |1.2.1 |Xamarin.AndroidX.SavedState |1.2.1.11 |
| 226|androidx.savedstate:savedstate-ktx |1.2.1 |Xamarin.AndroidX.SavedState.SavedState.Ktx |1.2.1.11 |
| 227|androidx.security:security-crypto |1.0.0 |Xamarin.AndroidX.Security.SecurityCrypto |1.0.0.20 |
| 228|androidx.slice:slice-builders |1.0.0 |Xamarin.AndroidX.Slice.Builders |1.0.0.27 |
| 229|androidx.slice:slice-core |1.0.0 |Xamarin.AndroidX.Slice.Core |1.0.0.27 |
| 230|androidx.slice:slice-view |1.0.0 |Xamarin.AndroidX.Slice.View |1.0.0.27 |
| 231|androidx.slidingpanelayout:slidingpanelayout |1.2.0 |Xamarin.AndroidX.SlidingPaneLayout |1.2.0.15 |
| 232|androidx.sqlite:sqlite |2.4.0 |Xamarin.AndroidX.Sqlite |2.4.0.6 |
| 233|androidx.sqlite:sqlite-framework |2.4.0 |Xamarin.AndroidX.Sqlite.Framework |2.4.0.6 |
| 234|androidx.startup:startup-runtime |1.1.1 |Xamarin.AndroidX.Startup.StartupRuntime |1.1.1.15 |
| 235|androidx.swiperefreshlayout:swiperefreshlayout |1.1.0 |Xamarin.AndroidX.SwipeRefreshLayout |1.1.0.22 |
| 236|androidx.tracing:tracing |1.2.0 |Xamarin.AndroidX.Tracing.Tracing |1.2.0.5 |
| 237|androidx.transition:transition |1.5.1 |Xamarin.AndroidX.Transition |1.5.1 |
| 238|androidx.tvprovider:tvprovider |1.0.0 |Xamarin.AndroidX.TvProvider |1.0.0.29 |
| 239|androidx.vectordrawable:vectordrawable |1.2.0 |Xamarin.AndroidX.VectorDrawable |1.2.0.1 |
| 240|androidx.vectordrawable:vectordrawable-animated |1.2.0 |Xamarin.AndroidX.VectorDrawable.Animated |1.2.0.1 |
| 241|androidx.versionedparcelable:versionedparcelable |1.2.0 |Xamarin.AndroidX.VersionedParcelable |1.2.0.5 |
| 242|androidx.viewpager:viewpager |1.0.0 |Xamarin.AndroidX.ViewPager |1.0.0.27 |
| 243|androidx.viewpager2:viewpager2 |1.1.0 |Xamarin.AndroidX.ViewPager2 |1.1.0.1 |
| 244|androidx.wear:wear |1.3.0 |Xamarin.AndroidX.Wear |1.3.0.8 |
| 245|androidx.wear:wear-input |1.1.0 |Xamarin.AndroidX.Wear.Input |1.0.0.17 |
| 246|androidx.wear:wear-ongoing |1.0.0 |Xamarin.AndroidX.Wear.Ongoing |1.0.0.17 |
| 247|androidx.wear:wear-phone-interactions |1.0.1 |Xamarin.AndroidX.Wear.PhoneInteractions |1.0.1.15 |
| 248|androidx.wear:wear-remote-interactions |1.0.0 |Xamarin.AndroidX.Wear.RemoteInteractions |1.0.0.17 |
| 249|androidx.wear.compose:compose-foundation |1.3.1 |Xamarin.AndroidX.Wear.Compose.Foundation |1.3.1.4 |
| 250|androidx.wear.compose:compose-material |1.3.1 |Xamarin.AndroidX.Wear.Compose.Material |1.3.1.4 |
| 251|androidx.wear.compose:compose-material-core |1.3.1 |Xamarin.AndroidX.Wear.Compose.Material.Core |1.3.1.4 |
| 252|androidx.wear.compose:compose-navigation |1.3.1 |Xamarin.AndroidX.Wear.Compose.Navigation |1.3.1.4 |
| 253|androidx.wear.protolayout:protolayout |1.2.0 |Xamarin.AndroidX.Wear.ProtoLayout |1.2.0 |
| 254|androidx.wear.protolayout:protolayout-external-protobuf |1.2.0 |Xamarin.AndroidX.Wear.ProtoLayout.External.Protobuf |1.2.0 |
| 255|androidx.wear.protolayout:protolayout-expression |1.2.0 |Xamarin.AndroidX.Wear.ProtoLayout.Expression |1.2.0 |
| 256|androidx.wear.protolayout:protolayout-expression-pipeline |1.2.0 |Xamarin.AndroidX.Wear.ProtoLayout.Expression.Pipeline |1.2.0 |
| 257|androidx.wear.protolayout:protolayout-proto |1.2.0 |Xamarin.AndroidX.Wear.ProtoLayout.Proto |1.2.0 |
| 258|androidx.wear.tiles:tiles |1.4.0 |Xamarin.AndroidX.Wear.Tiles |1.4.0 |
| 259|androidx.wear.tiles:tiles-material |1.4.0 |Xamarin.AndroidX.Wear.Tiles.Material |1.4.0 |
| 260|androidx.wear.tiles:tiles-proto |1.4.0 |Xamarin.AndroidX.Wear.Tiles.Proto |1.4.0 |
| 261|androidx.wear.tiles:tiles-renderer |1.1.0 |Xamarin.AndroidX.Wear.Tiles.Renderer |1.1.0.12 |
| 262|androidx.wear.watchface:watchface |1.2.1 |Xamarin.AndroidX.Wear.WatchFace |1.2.1.5 |
| 263|androidx.wear.watchface:watchface-client |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Client |1.2.1.5 |
| 264|androidx.wear.watchface:watchface-client-guava |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.ClientGuava |1.2.1.5 |
| 265|androidx.wear.watchface:watchface-complications |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Complications |1.2.1.5 |
| 266|androidx.wear.watchface:watchface-complications-data |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Complications.Data |1.2.1.5 |
| 267|androidx.wear.watchface:watchface-complications-data-source |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Complications.Data.Source |1.2.1.5 |
| 268|androidx.wear.watchface:watchface-complications-data-source-ktx |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Complications.Data.Source.Ktx |1.2.1.5 |
| 269|androidx.wear.watchface:watchface-complications-rendering |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Complications.Rendering |1.2.1.5 |
| 270|androidx.wear.watchface:watchface-data |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Data |1.2.1.5 |
| 271|androidx.wear.watchface:watchface-guava |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Guava |1.2.1.5 |
| 272|androidx.wear.watchface:watchface-style |1.2.1 |Xamarin.AndroidX.Wear.WatchFace.Style |1.2.1.5 |
| 273|androidx.webkit:webkit |1.11.0 |Xamarin.AndroidX.WebKit |1.11.0.3 |
| 274|androidx.window:window |1.3.0 |Xamarin.AndroidX.Window |1.3.0.1 |
| 275|androidx.window:window-extensions |1.0.0-alpha01 |Xamarin.AndroidX.Window.WindowExtensions |1.0.0.22-alpha01 |
| 276|androidx.window:window-java |1.3.0 |Xamarin.AndroidX.Window.WindowJava |1.3.0.1 |
| 277|androidx.window:window-rxjava2 |1.3.0 |Xamarin.AndroidX.Window.WindowRxJava2 |1.3.0.1 |
| 278|androidx.window:window-rxjava3 |1.3.0 |Xamarin.AndroidX.Window.WindowRxJava3 |1.3.0.1 |
| 279|androidx.window.extensions.core:core |1.0.0 |Xamarin.AndroidX.Window.Extensions.Core.Core |1.0.0.9 |
| 280|androidx.work:work-runtime |2.9.1 |Xamarin.AndroidX.Work.Runtime |2.9.1 |
| 281|androidx.work:work-runtime-ktx |2.9.1 |Xamarin.AndroidX.Work.Work.Runtime.Ktx |2.9.1 |
| 282|com.android.installreferrer:installreferrer |1.1.2 |Xamarin.Google.Android.InstallReferrer |1.1.2.4 |
| 283|com.google.accompanist:accompanist-appcompat-theme |0.34.0 |Xamarin.Google.Accompanist.AppCompat.Theme |0.34.0.5 |
| 284|com.google.accompanist:accompanist-drawablepainter |0.34.0 |Xamarin.Google.Accompanist.DrawablePainter |0.34.0.5 |
| 285|com.google.accompanist:accompanist-flowlayout |0.34.0 |Xamarin.Google.Accompanist.FlowLayout |0.34.0.5 |
| 286|com.google.accompanist:accompanist-pager |0.34.0 |Xamarin.Google.Accompanist.Pager |0.34.0.5 |
| 287|com.google.accompanist:accompanist-pager-indicators |0.34.0 |Xamarin.Google.Accompanist.Pager.Indicators |0.34.0.5 |
| 288|com.google.accompanist:accompanist-permissions |0.34.0 |Xamarin.Google.Accompanist.Permissions |0.34.0.5 |
| 289|com.google.accompanist:accompanist-placeholder |0.34.0 |Xamarin.Google.Accompanist.Placeholder |0.34.0.5 |
| 290|com.google.accompanist:accompanist-placeholder-material |0.34.0 |Xamarin.Google.Accompanist.Placeholder.Material |0.34.0.5 |
| 291|com.google.accompanist:accompanist-swiperefresh |0.34.0 |Xamarin.Google.Accompanist.SwipeRefresh |0.34.0.5 |
| 292|com.google.accompanist:accompanist-systemuicontroller |0.34.0 |Xamarin.Google.Accompanist.SystemUIController |0.34.0.5 |
| 293|com.google.android.material:compose-theme-adapter |1.1.18 |Xamarin.Google.Android.Material.Compose.Theme.Adapter |1.1.18.13 |
| 294|com.google.android.material:compose-theme-adapter-3 |1.0.18 |Xamarin.Google.Android.Material.Compose.Theme.Adapter3 |1.0.18.12 |
| 295|com.google.android.material:material |1.11.0 |Xamarin.Google.Android.Material |1.11.0.1 |
| 296|com.google.assistant.appactions:suggestions |1.0.0 |Xamarin.Google.Assistant.AppActions.Suggestions |1.0.0.13 |
| 297|com.google.assistant.appactions:widgets |0.0.1 |Xamarin.Google.Assistant.AppActions.Widgets |0.0.1.14 |
| 298|com.google.auto.value:auto-value-annotations |1.11.0 |Xamarin.Google.AutoValue.Annotations |1.11.0.1 |
| 299|com.google.code.gson:gson |2.11.0 |GoogleGson |2.11.0.1 |
| 300|com.google.crypto.tink:tink-android |1.14.1 |Xamarin.Google.Crypto.Tink.Android |1.14.1 |
| 301|com.google.flogger:flogger |0.8 |Xamarin.Flogger |0.8.0.6 |
| 302|com.google.flogger:flogger-system-backend |0.8 |Xamarin.Flogger.SystemBackend |0.8.0.6 |
| 303|com.google.guava:failureaccess |1.0.2 |Xamarin.Google.Guava.FailureAccess |1.0.2.6 |
| 304|com.google.guava:guava |33.3.0-android |Xamarin.Google.Guava |33.3.0 |
| 305|com.google.guava:listenablefuture |1.0 |Xamarin.Google.Guava.ListenableFuture |1.0.0.22 |
| 306|com.google.j2objc:j2objc-annotations |3.0.0 |Xamarin.Google.J2Objc.Annotations |3.0.0.4 |
| 307|dev.chrisbanes.snapper:snapper |0.3.0 |Xamarin.Dev.ChrisBanes.Snapper |0.3.0.13 |
| 308|io.antmedia:rtmp-client |3.2.0 |Xamarin.Android.AntMedia.RtmpClient |3.2.0 |
| 309|io.github.aakira:napier |2.7.1 |Xamarin.AAkira.Napier |2.7.1.5 |
| 310|io.reactivex.rxjava2:rxandroid |2.1.1 |Xamarin.Android.ReactiveX.RxAndroid |2.1.1.13 |
| 311|io.reactivex.rxjava2:rxjava |2.2.21 |Xamarin.Android.ReactiveX.RxJava |2.2.21.20 |
| 312|io.reactivex.rxjava2:rxkotlin |2.4.0 |Xamarin.Android.ReactiveX.RxKotlin |2.4.0.13 |
| 313|io.reactivex.rxjava3:rxandroid |3.0.2 |Xamarin.Android.ReactiveX.RxJava3.RxAndroid |3.0.2.12 |
| 314|io.reactivex.rxjava3:rxjava |3.1.9 |Xamarin.Android.ReactiveX.RxJava3.RxJava |3.1.9 |
| 315|io.reactivex.rxjava3:rxkotlin |3.0.1 |Xamarin.Android.ReactiveX.RxJava3.RxKotlin |3.0.1.13 |
| 316|org.checkerframework:checker-compat-qual |2.5.6 |Xamarin.CheckerFramework.CheckerCompatQual |2.5.6.6 |
| 317|org.checkerframework:checker-qual |3.46.0 |Xamarin.CheckerFramework.CheckerQual |3.46.0 |
| 318|org.jetbrains:annotations |24.1.0 |Xamarin.Jetbrains.Annotations |24.1.0.6 |
| 319|org.jetbrains.kotlin:kotlin-android-extensions-runtime |2.0.10 |Xamarin.Kotlin.Android.Extensions.Runtime.Library |2.0.10 |
| 320|org.jetbrains.kotlin:kotlin-parcelize-runtime |2.0.10 |Xamarin.Kotlin.Parcelize.Runtime |2.0.10 |
| 321|org.jetbrains.kotlin:kotlin-reflect |2.0.10 |Xamarin.Kotlin.Reflect |2.0.10 |
| 322|org.jetbrains.kotlin:kotlin-stdlib |2.0.10 |Xamarin.Kotlin.StdLib |2.0.10 |
| 323|org.jetbrains.kotlin:kotlin-stdlib-common |2.0.10 |Xamarin.Kotlin.StdLib.Common |2.0.10 |
| 324|org.jetbrains.kotlin:kotlin-stdlib-jdk7 |2.0.10 |Xamarin.Kotlin.StdLib.Jdk7 |2.0.10 |
| 325|org.jetbrains.kotlin:kotlin-stdlib-jdk8 |2.0.10 |Xamarin.Kotlin.StdLib.Jdk8 |2.0.10 |
| 326|org.jetbrains.kotlinx:atomicfu |0.25.0 |Xamarin.KotlinX.AtomicFU |0.25.0.1 |
| 327|org.jetbrains.kotlinx:atomicfu-jvm |0.25.0 |Xamarin.KotlinX.AtomicFU.Jvm |0.25.0.1 |
| 328|org.jetbrains.kotlinx:kotlinx-coroutines-android |1.8.1 |Xamarin.KotlinX.Coroutines.Android |1.8.1.1 |
| 329|org.jetbrains.kotlinx:kotlinx-coroutines-core |1.8.1 |Xamarin.KotlinX.Coroutines.Core |1.8.1.1 |
| 330|org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm |1.8.1 |Xamarin.KotlinX.Coroutines.Core.Jvm |1.8.1.1 |
| 331|org.jetbrains.kotlinx:kotlinx-coroutines-guava |1.8.1 |Xamarin.KotlinX.Coroutines.Guava |1.8.1.1 |
| 332|org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 |1.8.1 |Xamarin.KotlinX.Coroutines.Jdk8 |1.8.1.1 |
| 333|org.jetbrains.kotlinx:kotlinx-coroutines-play-services |1.8.1 |Xamarin.KotlinX.Coroutines.Play.Services |1.8.1.1 |
| 334|org.jetbrains.kotlinx:kotlinx-coroutines-reactive |1.8.1 |Xamarin.KotlinX.Coroutines.Reactive |1.8.1.1 |
| 335|org.jetbrains.kotlinx:kotlinx-coroutines-rx2 |1.8.1 |Xamarin.KotlinX.Coroutines.Rx2 |1.8.1.1 |
| 336|org.jetbrains.kotlinx:kotlinx-coroutines-rx3 |1.8.1 |Xamarin.KotlinX.Coroutines.Rx3 |1.8.1.1 |
| 337|org.jetbrains.kotlinx:kotlinx-serialization-core |1.7.1 |Xamarin.KotlinX.Serialization.Core |1.7.1.1 |
| 338|org.jetbrains.kotlinx:kotlinx-serialization-core-jvm |1.7.1 |Xamarin.KotlinX.Serialization.Core.Jvm |1.7.1.1 |
| 339|org.jetbrains.kotlinx:kotlinx-serialization-protobuf |1.7.1 |Xamarin.KotlinX.Serialization.Protobuf |1.7.1.1 |
| 340|org.jetbrains.kotlinx:kotlinx-serialization-protobuf-jvm |1.7.1 |Xamarin.KotlinX.Serialization.Protobuf.Jvm |1.7.1.1 |
| 341|org.reactivestreams:reactive-streams |1.0.4 |Xamarin.Android.ReactiveStreams |1.0.4.14 |

Просмотреть файл

@ -50,7 +50,7 @@
<!-- Packaging files -->
<ItemGroup>
@if (Model.ShouldIncludeArtifact) {
@if (Model.ShouldIncludeArtifact && Model.Type == AndroidBinderator.BindingType.Targets) {
<None Include="@(Model.NuGetPackageId).targets" Pack="True" PackagePath="@@(AndroidXNuGetTargetFolders)" />
}
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
@ -96,6 +96,7 @@
</TransformFile>
</ItemGroup>
@if (Model.Type == AndroidBinderator.BindingType.Targets) {
@if (@Model.MavenArtifacts.Count > 0) {
<!-- Java artifacts to bind -->
<ItemGroup>
@ -138,6 +139,23 @@
}
}
</ItemGroup>
}
@if (Model.Type == AndroidBinderator.BindingType.AndroidLibrary) {
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts)
{
<AndroidLibrary Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).@(art.MavenArtifactPackaging)" />
@if (art.DocumentationType == AndroidBinderator.DocumentationType.JavaDoc)
{
<JavaDocJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-javadoc.jar" />
}
@if (art.DocumentationType == AndroidBinderator.DocumentationType.JavaSource)
{
<JavaSourceJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" />
}
}
</ItemGroup>
}
<!-- ProjectReferences -->
<ItemGroup>

Просмотреть файл

@ -1,215 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Accompanist incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# Accompanist
# https://github.com/google/accompanist/
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,85 +0,0 @@
@{
var assembly_name = string.IsNullOrEmpty(Model.AssemblyName) ? Model.NuGetPackageId : Model.AssemblyName;
if (!Model.Metadata.TryGetValue("rootNamespace", out string rootNamespace)) { rootNamespace = Model.NuGetPackageId; }
if (!Model.Metadata.TryGetValue("friendlyName", out string friendlyName)) { friendlyName = Model.NuGetPackageId.Replace("Xamarin.", ""); }
}
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>@(rootNamespace)</RootNamespace>
<AssemblyName>@(assembly_name)</AssemblyName>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for Xamarin.Android</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) binding for @(friendlyName)</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2084008</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts)
{
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)\classes.jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies)
{
if (dep.IsProjectReference)
{
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
}
else
{
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,213 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Ant-Media Librtmp Clent for Android incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# Ant-Media Librtmp Clent for Android
# https://github.com/ant-media/Librtmp-Client-for-Android
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,75 +0,0 @@
@{
var assembly_name = string.IsNullOrEmpty(Model.AssemblyName) ? Model.NuGetPackageId : Model.AssemblyName;
if (!Model.Metadata.TryGetValue("rootNamespace", out string rootNamespace)) { rootNamespace = Model.NuGetPackageId; }
if (!Model.Metadata.TryGetValue("friendlyName", out string friendlyName)) { friendlyName = Model.NuGetPackageId.Replace("Xamarin.", ""); }
}
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>@(rootNamespace)</RootNamespace>
<AssemblyName>@(assembly_name)</AssemblyName>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) Ant-Media Librtmp Clent for .NET for Android (formerly Xamarin.Android)</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) binding for @(friendlyName)</PackageDescription>
<PackageLicenseExpression>MIT AND Apache-2.0</PackageLicenseExpression>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)\classes.jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies) {
if (dep.IsProjectReference) {
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
} else {
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\templates\antmedia-rtpm-client\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,217 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Google Auto Value incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# Google Auto Value
# https://github.com/google/auto
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,67 +0,0 @@
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>Annotations</RootNamespace>
<AssemblyName>Xamarin.Google.AutoValue.Annotations</AssemblyName>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>Google Auto Value Annotations for Xamarin.Android</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) bindings for Google Auto Value Annotations</PackageDescription>
<PackageLicenseExpression>MIT AND Apache-2.0</PackageLicenseExpression>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies) {
if (dep.IsProjectReference) {
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
} else {
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\templates\auto-value\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,215 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Snapper incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# Snapper
# https://github.com/chrisbanes/snapper/
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,85 +0,0 @@
@{
var assembly_name = string.IsNullOrEmpty(Model.AssemblyName) ? Model.NuGetPackageId : Model.AssemblyName;
if (!Model.Metadata.TryGetValue("rootNamespace", out string rootNamespace)) { rootNamespace = Model.NuGetPackageId; }
if (!Model.Metadata.TryGetValue("friendlyName", out string friendlyName)) { friendlyName = Model.NuGetPackageId.Replace("Xamarin.", ""); }
}
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>@(rootNamespace)</RootNamespace>
<AssemblyName>@(assembly_name)</AssemblyName>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for Xamarin.Android</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) binding for dev.chrisbanes.snapper</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2084008</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts)
{
<AndroidLibrary Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).aar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies)
{
if (dep.IsProjectReference)
{
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
}
else
{
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\templates\dev-chrisbanes-snapper\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,217 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Google Flogger (Fluent Logging API for Java) incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# Google Flogger
# https://github.com/google/flogger
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,97 +0,0 @@
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageDescription>.NET for Android (formerly Xamarin.Android) bindings for Flogger (Fluent Logging API for java)</PackageDescription>
<PackageLicenseExpression>MIT AND Apache-2.0</PackageLicenseExpression>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<PropertyGroup>
@foreach (var art in @Model.MavenArtifacts)
{
<PackageId>@Model.NuGetPackageId</PackageId>
<AssemblyName>@Model.NuGetPackageId</AssemblyName>
switch(@Model.NuGetPackageId)
{
case "Xamarin.Flogger":
<Title>Xamarin.Flogger</Title>
<PackageDescription>
Xamarin.Android bindings for Google Flogger
Flogger: A Fluent Logging API for Java.
</PackageDescription>
<RootNamespace>Xamarin.Flogger</RootNamespace>
<AssemblyName>Xamarin.Flogger</AssemblyName>
break;
case "Xamarin.Flogger.SystemBackend":
<Title>Xamarin.Flogger.SystemBackend</Title>
<PackageDescription>
Xamarin.Android bindings for Google Flogger
Flogger: A Fluent Logging API for Java.
</PackageDescription>
<AssemblyName>Xamarin.Flogger.SystemBackend</AssemblyName>
<RootNamespace>Xamarin.Flogger.SystemBackend</RootNamespace>
break;
default:
break;
}
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
}
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies) {
if (dep.IsProjectReference) {
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
} else {
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\templates\flogger\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,222 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for GoogleGson incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# GoogleGson
# https://github.com/google/gson
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
########################################
# End - GoogleGson
########################################

Просмотреть файл

@ -1,67 +0,0 @@
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>GoogleGson</RootNamespace>
<AssemblyName>GoogleGson</AssemblyName>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>Google Gson bindings for .NET for Android (formerly Xamarin.Android)</Title>
<PackageDescription>Gson is a library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object.</PackageDescription>
<PackageLicenseExpression>MIT AND Apache-2.0</PackageLicenseExpression>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies) {
if (dep.IsProjectReference) {
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
} else {
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\templates\gson\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,215 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Napier incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# Napier
# https://github.com/AAkira/Napier/
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2019 AAkira
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,85 +0,0 @@
@{
var assembly_name = string.IsNullOrEmpty(Model.AssemblyName) ? Model.NuGetPackageId : Model.AssemblyName;
if (!Model.Metadata.TryGetValue("rootNamespace", out string rootNamespace)) { rootNamespace = Model.NuGetPackageId; }
if (!Model.Metadata.TryGetValue("friendlyName", out string friendlyName)) { friendlyName = Model.NuGetPackageId.Replace("Xamarin.", ""); }
}
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>@(rootNamespace)</RootNamespace>
<AssemblyName>@(assembly_name)</AssemblyName>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for Xamarin.Android</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) binding for @(friendlyName)</PackageDescription>
<Authors>Microsoft</Authors>
<Owners>Microsoft</Owners>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageProjectUrl>https://go.microsoft.com/fwlink/?linkid=2084008</PackageProjectUrl>
<PackageLicenseFile>LICENSE.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts)
{
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies)
{
if (dep.IsProjectReference)
{
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
}
else
{
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,32 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Reactive-Streams incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# ReactiveStreams
# https://github.com/reactive-streams/reactive-streams-jvm
########################################
MIT No Attribution
Copyright 2014 Reactive Streams
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Просмотреть файл

@ -1,75 +0,0 @@
@{
var assembly_name = string.IsNullOrEmpty(Model.AssemblyName) ? Model.NuGetPackageId : Model.AssemblyName;
if (!Model.Metadata.TryGetValue("rootNamespace", out string rootNamespace)) { rootNamespace = Model.NuGetPackageId; }
if (!Model.Metadata.TryGetValue("friendlyName", out string friendlyName)) { friendlyName = Model.NuGetPackageId.Replace("Xamarin.", ""); }
}
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>@(rootNamespace)</RootNamespace>
<AssemblyName>@(assembly_name)</AssemblyName>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for .NET for Android (formerly Xamarin.Android)</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) binding for @(friendlyName)</PackageDescription>
<PackageLicenseExpression>MIT AND MIT-0</PackageLicenseExpression>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies) {
if (dep.IsProjectReference) {
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
} else {
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\templates\reactive-streams\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,217 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for ReactiveX RxJava and RxAndroid incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# ReactiveX RxAndroid
# https://github.com/ReactiveX/RxAndroid/
# ReactiveX RxJava
# https://github.com/ReactiveX/RxJava/
# ReactiveX RxKotlin
# https://github.com/ReactiveX/RxKotlin/
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,92 +0,0 @@
@{
var assembly_name = string.IsNullOrEmpty(Model.AssemblyName) ? Model.NuGetPackageId : Model.AssemblyName;
// We don't want our .jar file names to conflict, so we need ex: rxjava3.jar
var rx_version = Model.NuGetPackageId.Contains("RxJava3") ? "3" : "2";
if (!Model.Metadata.TryGetValue("friendlyName", out string friendlyName)) { friendlyName = Model.NuGetPackageId.Replace("Xamarin.", ""); }
}
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>ReactiveX</RootNamespace>
<AssemblyName>@(assembly_name)</AssemblyName>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for .NET for Android (formerly Xamarin.Android)</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) binding for @(friendlyName)</PackageDescription>
<PackageLicenseExpression>MIT AND Apache-2.0</PackageLicenseExpression>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<Target Name="RenameJars" BeforeTargets="PrepareForBuild">
<!-- We want the jar embedded as rxjava-3.0.1.jar, so it doesn't conflict with other versions -->
@foreach (var art in @Model.MavenArtifacts) {
<Move
SourceFiles="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar"
DestinationFiles="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)@(rx_version)-@(art.MavenArtifactVersion).jar"
Condition="Exists('..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar')" />
}
</Target>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
if (art.MavenArtifactPackaging == "aar") {
<AndroidLibrary Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).aar" />
<JavaDocJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-javadoc.jar" />
} else {
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)@(rx_version)-@(art.MavenArtifactVersion).jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourceJar Include="..\..\externals\@(art.MavenGroupId)\*-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
}
</ItemGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenGroupId)\@(Model.Name)\Transforms\*.xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenGroupId)\@(Model.Name)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies) {
if (dep.IsProjectReference) {
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
} else {
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\templates\rxjava\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -1,217 +0,0 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for ReactiveX RxJava and RxAndroid incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
expressly granted, whether by implication, estoppel or otherwise.
########################################
# ReactiveX RxAndroid
# https://github.com/ReactiveX/RxAndroid/
# ReactiveX RxJava
# https://github.com/ReactiveX/RxJava/
# ReactiveX RxKotlin
# https://github.com/ReactiveX/RxKotlin/
########################################
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Просмотреть файл

@ -1,76 +0,0 @@
@{
var assembly_name = string.IsNullOrEmpty(Model.AssemblyName) ? Model.NuGetPackageId : Model.AssemblyName;
if (!Model.Metadata.TryGetValue("rootNamespace", out string rootNamespace)) { rootNamespace = Model.NuGetPackageId; }
if (!Model.Metadata.TryGetValue("friendlyName", out string friendlyName)) { friendlyName = Model.NuGetPackageId.Replace("Xamarin.", ""); }
}
<Project Sdk="Xamarin.Legacy.Sdk">
<PropertyGroup>
<TargetFrameworks>$(_DefaultTargetFrameworks)</TargetFrameworks>
<IsBindingProject>true</IsBindingProject>
<RootNamespace>@(rootNamespace)</RootNamespace>
<AssemblyName>@(assembly_name)</AssemblyName>
<AndroidUseIntermediateDesignerFile>True</AndroidUseIntermediateDesignerFile>
<!--
No warnings for:
- CS0618: 'member' is obsolete: 'text'
- CS0109: The member 'member' does not hide an inherited member. The new keyword is not required
- CS0114: 'function1' hides inherited member 'function2'. To make the current method override that implementation, add the override keyword. Otherwise add the new keyword.
- CS0628: 'member' : new protected member declared in sealed class
- CS0108: 'member1' hides inherited member 'member2'. Use the new keyword if hiding was intended.
- CS0809: Obsolete member 'member' overrides non-obsolete member 'member'
-->
<NoWarn>0618;0109;0114;0628;0108;0809</NoWarn>
</PropertyGroup>
<PropertyGroup>
<AndroidClassParser>class-parse</AndroidClassParser>
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
</PropertyGroup>
<PropertyGroup>
<PackageId>@(Model.NuGetPackageId)</PackageId>
<Title>@(friendlyName) for .NET for Android (formerly Xamarin.Android)</Title>
<PackageDescription>.NET for Android (formerly Xamarin.Android) binding for @(friendlyName)</PackageDescription>
<PackageLicenseExpression>MIT AND Apache-2.0</PackageLicenseExpression>
<PackageVersion>@(Model.NuGetVersion)</PackageVersion>
<PackageTags>.NET dotnet Xamarin Android artifact=@(Model.MavenGroupId):@(Model.Name) artifact_versioned=@(Model.MavenGroupId):@(Model.Name):@(Model.MavenArtifacts[0].MavenArtifactVersion)</PackageTags>
</PropertyGroup>
<ItemGroup>
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.xml" Exclude="$(DefaultTransformExcludes)" Link="Transforms\%(Filename)%(Extension)" />
<TransformFile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Transforms\*.$(TargetFramework).xml" Link="Transforms\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\Additions\*.cs" Link="Additions\%(Filename)%(Extension)" />
</ItemGroup>
<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
<EmbeddedJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId).jar" Link="Jars\%(Filename)%(Extension)" />
<JavaSourcesJar Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar" Link="Jars\%(Filename)%(Extension)" />
}
</ItemGroup>
<ItemGroup>
@foreach (var dep in @Model.NuGetDependencies) {
if (dep.IsProjectReference) {
<ProjectReference Include="..\..\generated\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId)\@(dep.MavenArtifact.MavenGroupId).@(dep.MavenArtifact.MavenArtifactId).csproj" PrivateAssets="none" />
} else {
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
</ItemGroup>
<ItemGroup>
<None Include="..\..\source\PackageLicense.md" Pack="True" PackagePath="LICENSE.md" />
<None Include="..\..\source\@(Model.MavenArtifacts[0].MavenGroupId)\@(Model.MavenArtifacts[0].MavenArtifactId)\External-Dependency-Info.txt" Pack="true" PackagePath="THIRD-PARTY-NOTICES.txt" />
</ItemGroup>
<ItemGroup>
<None Include=".\readme.md" Pack="True" PackagePath="readme.md" />
</ItemGroup>
</Project>

Просмотреть файл

@ -14,6 +14,7 @@
<!-- Get everything possible from the packages we built in this repo -->
<packageSource key="Local Output">
<package pattern="*" />
<package pattern="Xamarin.AndroidX.Security.SecurityCrypto" />
</packageSource>
<!-- Only get explicitly needed packages from nuget.org -->

Просмотреть файл

@ -38,7 +38,7 @@ static class UpdateCommand
OutputDependencyTable (config);
// Write updated values back to original locations so they get serialized
foreach (var a in config.MavenArtifacts) {
foreach (var a in config.MavenArtifacts.Where (a => !a.Frozen)) {
a.Version = a.LatestVersion;
a.NugetVersion = a.LatestNuGetVersion;
}
@ -48,21 +48,23 @@ static class UpdateCommand
static void OutputArtifactTable (BindingConfig config)
{
var column1 = "Package (* = Has Update)".PadRight (58);
var bound_artifacts = config.MavenArtifacts.Where (a => !a.DependencyOnly);
var column1 = $"{bound_artifacts.Count ()} Packages (* = Has Update)".PadRight (58);
var column2 = "Currently Bound".PadRight (17);
var column3 = "Latest Stable".PadRight (15);
Console.WriteLine ($"| {column1} | {column2} | {column3} |");
Console.WriteLine ("|------------------------------------------------------------|-------------------|-----------------|");
foreach (var art in config.MavenArtifacts.Where (a => !a.DependencyOnly)) {
foreach (var art in bound_artifacts) {
var package_name = $"{art.GroupId}.{art.ArtifactId}";
if (art.NewVersionAvailable)
package_name = "* " + package_name;
if (art.Frozen)
package_name = "# " + package_name;
package_name = (package_name.StartsWith ('*') ? "#" : "# ") + package_name;
Console.WriteLine ($"| {package_name.PadRight (58)} | {art.Version.PadRight (17)} | {art.LatestVersion.PadRight (15)} |");
}
@ -70,14 +72,16 @@ static class UpdateCommand
static void OutputDependencyTable (BindingConfig config)
{
var column1 = "Dependencies (* = Has Update)".PadRight (58);
var dependency_artifacts = config.MavenArtifacts.Where (a => a.DependencyOnly);
var column1 = $"{dependency_artifacts.Count ()} Dependencies (* = Has Update)".PadRight (58);
var column2 = "Current Reference".PadRight (17);
var column3 = "Latest Publish".PadRight (15);
Console.WriteLine ($"| {column1} | {column2} | {column3} |");
Console.WriteLine ("|------------------------------------------------------------|-------------------|-----------------|");
foreach (var art in config.MavenArtifacts.Where (a => a.DependencyOnly)) {
foreach (var art in dependency_artifacts) {
var package_name = art.NugetPackageId ?? $"{art.GroupId}.{art.ArtifactId}";
if (art.NewNuGetVersionAvailable)

Просмотреть файл

@ -5,6 +5,7 @@ using System.IO;
using System.Linq;
using System.Net.Http;
using System.Runtime.InteropServices.ComTypes;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
@ -31,6 +32,9 @@ namespace AndroidBinderator
[JsonProperty ("strictRuntimeDependencies")]
public bool StrictRuntimeDependencies { get; set; }
[JsonProperty ("defaultBindingsType")]
public BindingType DefaultBindingsType { get; set; } = BindingType.Targets;
[JsonProperty ("excludedRuntimeDependencies")]
public string? ExcludedRuntimeDependencies { get; set; }
@ -167,4 +171,24 @@ namespace AndroidBinderator
Google,
MavenCentral
}
public enum BindingType
{
[EnumMember (Value = "targets")]
Targets,
[EnumMember (Value = "androidlibrary")]
AndroidLibrary,
[EnumMember (Value = "no-bindings")]
NoBindings
}
public enum DocumentationType
{
[EnumMember (Value = "none")]
None,
[EnumMember (Value = "javadoc")]
JavaDoc,
[EnumMember (Value = "javasource")]
JavaSource
}
}

Просмотреть файл

@ -55,6 +55,19 @@ namespace AndroidBinderator
[JsonProperty("extraDependencies")]
public string? ExtraDependencies { get; set; }
[JsonProperty ("type")]
public BindingType? BindingsType { get; set; }
[JsonProperty ("mavenRepositoryType")]
public MavenRepoType? MavenRepositoryType { get; set; }
[JsonProperty ("mavenRepositoryLocation")]
public string? MavenRepositoryLocation { get; set; } = null;
[JsonProperty ("documentationType")]
[DefaultValue (DocumentationType.None)]
public DocumentationType DocumentationType { get; set; } = DocumentationType.None;
[JsonProperty("templateSet")]
public string? TemplateSet { get; set; }

Просмотреть файл

@ -65,10 +65,6 @@ public class ConfigUpdater
static bool HasUpdate (MavenArtifactConfig model, Artifact artifact)
{
// Don't update package if it's "Frozen"
if (model.Frozen)
return false;
// Get latest stable version
var latest = GetLatestVersion (artifact);

Просмотреть файл

@ -293,7 +293,8 @@ namespace AndroidBinderator
Config = config,
MavenDescription = mavenProject.Description,
MavenUrl = mavenProject.Url,
JavaSourceRepository = mavenProject.Scm?.Url
JavaSourceRepository = mavenProject.Scm?.Url,
Type = mavenArtifact.BindingsType ?? config.DefaultBindingsType,
};
var licenses = mavenProject.Licenses;
@ -356,7 +357,8 @@ namespace AndroidBinderator
MavenArtifactMd5 = md5,
MavenArtifactSha256 = sha256,
ProguardFile = File.Exists(proguardFile) ? GetRelativePath(proguardFile, config.BasePath ?? "").Replace("/", "\\") : null,
MavenArtifactConfig = mavenArtifact
MavenArtifactConfig = mavenArtifact,
DocumentationType = mavenArtifact.DocumentationType,
});
List<Dependency> dependencies = new List<Dependency>();

Просмотреть файл

@ -45,6 +45,10 @@ namespace AndroidBinderator
static (MavenRepoType type, string location) GetMavenInfoForArtifact(BindingConfig config, MavenArtifactConfig artifact)
{
// Precendence: Artifact > TemplateSet > Config
if (artifact.MavenRepositoryType.HasValue)
return (artifact.MavenRepositoryType.Value, artifact.MavenRepositoryLocation!);
var template = config.GetTemplateSet(artifact.TemplateSet);
if (template.MavenRepositoryType.HasValue)

Просмотреть файл

@ -13,6 +13,8 @@ namespace AndroidBinderator
public string? MavenGroupId { get; set; }
public BindingType Type { get; set; }
public List<MavenArtifactModel> MavenArtifacts { get; set; } = new List<MavenArtifactModel>();
public string? NuGetPackageId { get; set; }

Просмотреть файл

@ -14,6 +14,7 @@ namespace AndroidBinderator
public string? DownloadedArtifact { get; set; }
public string? ProguardFile { get; set; }
public DocumentationType DocumentationType { get; set; }
public Dictionary<string, string> Metadata { get; set; } = new Dictionary<string, string>();
}