Граф коммитов

3169 Коммитов

Автор SHA1 Сообщение Дата
moljac c29ab107cf bump androidx.core:core-animation 2024-05-27 16:24:45 +02:00
Jonathan Pobst a6b6dc15d7
[NuGet.config] Remove wildcard from nuget.org. (#891)
In order to ensure we are testing the packages built during CI/local build we need to remove the wildcard from `nuget.org`.

With the `nuget.org` wildcard it means that anything that cannot be found locally will be pulled from published packages.  We will never know if we are accidentally pulling a published package instead of the intended local one.
2024-05-17 07:29:04 -10:00
Jonathan Pobst c6ccf10e3d
Clean up unused legacy parts of the AndroidX project template. (#889)
With Classic gone, we can clean up our template a little bit by removing settings that only affected Classic.  Additionally, we can remove some things that aren't getting used due to incorrect `Condition` statements.

This PR should not change our packages in any way.  This is verified by ensuring there are no changes to the `api-diff` or `nuget-diff` files.

---

The `<AndroidJavaSource>` include was already a no-op because `Exists` does not expand wildcards, so the `Condition` was always `false`:

```xml
Condition="Exists('..\..\source\@(Model.MavenGroupId)\@(Model.Name)\java\*.java')"
```

Removing just the `Condition` caused `javac` errors because it was now including `.java` files that were not being included previously.

---

Most everything else was also a no-op because the `Exists` and the `Include` pointed to different locations.  (`..\..\external` vs `..\..\..\external`)

```xml
<JavaSourceJar
  Include="..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar"
  Condition="Exists('..\..\..\externals\@(art.MavenGroupId)\@(art.MavenArtifactId)-sources.jar')" />
```
2024-05-16 09:04:36 -10:00
moljac 02fa19f30e
Merge pull request #882 from xamarin/mu-20240502-alignment-bumps
Manual. updates 20240502 alignment bumps
2024-05-09 09:35:59 +02:00
moljac 25f6ece06c
Merge branch 'main' into mu-20240502-alignment-bumps 2024-05-09 09:35:49 +02:00
moljac c9270faa00
Merge pull request #886 from xamarin/mu-20240507-publish-from-branch-fix-nuget-id
[DO NOT MERGE][PUBLISH FROM BRANCH]  Fix for nuget id for already published nuget
2024-05-09 09:34:59 +02:00
moljac d16ec3cce2 nuget id fix for already published nuget 2024-05-07 16:18:31 +02:00
Jonathan Pobst 3c8325e40f
Remove Classic support. (#875)
With support for Classic Xamarin.Android [ended May 1st, 2024](https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin), we can start removing all the hacks needed to support both Classic and .NET for Android.

- No longer build EOL frameworks: `MonoAndroid12.0;net6.0-android;`
- No longer need to install classic XA
- No longer need to have classic XA or XF sample builds
- No longer need to use `Xamarin.Legacy.Sdk`

For this PR, we'll only build `net7.0-android`.  A future PR should enable `net8.0-android`.

The best news: with this our CI build time drops from ~80 minutes to ~35 minutes. 🎉
2024-05-03 07:51:29 -10:00
moljac a4d5310de1 build tools inventory update 2024-05-03 12:59:20 +02:00
moljac 001da57f35 automatic files 2024-05-03 10:20:49 +02:00
moljac f51eb0b5f5 alignment bumps 2024-05-03 10:20:27 +02:00
moljac 5dce614b6b
Merge pull request #878 from xamarin/wsu-20240419
Weekly Stable Updates 20240419
2024-05-02 08:22:03 +02:00
moljac 1995ad42e5 automatic files 2024-05-01 12:54:30 +02:00
moljac 2a30f5e937 Merge branch 'wsu-20240419' of https://github.com/xamarin/AndroidX into wsu-20240419 2024-05-01 12:11:13 +02:00
moljac e06f5065d9 spelling after namespace changes 2024-05-01 12:11:04 +02:00
moljac a520590771 automatic files 2024-05-01 12:10:49 +02:00
moljac f80fa4fe30
Merge branch 'main' into wsu-20240419 2024-05-01 10:14:02 +02:00
moljac 3c4c6476c4 Xamarin.Google.Android.InstallReferrer update 2024-05-01 10:13:19 +02:00
Jonathan Pobst 2b21f4c975
Fix update script to handle misnamed guava Java versions. (#880)
We have missed several new versions of `com.google.guava.guava` because they name their release packages like `33.1.0-android`.  Traditionally, adding any sort of label after a hyphen indicates that the package is a pre-release version so we ignore it.  Thus we have been ignoring their new versions.

Fix our update script to allow a pre-release tag of `-android` to count as a stable release version so we will process `guava` updates.

Additionally, go ahead and bump `guava` to the latest version available. Note we remove the `-android` from the NuGet version, as it is not a pre-release package.
2024-04-30 08:50:59 -10:00
moljac fd9b1d25e7 OkIO fixes 2024-04-30 20:41:32 +02:00
moljac ecad07c2aa automatic files 2024-04-30 08:32:05 +02:00
moljac 3a237e973c better spelling 2024-04-29 22:09:54 +02:00
moljac 31aca1d108 Update published-namespaces.txt 2024-04-29 19:03:16 +02:00
moljac 4297e9251e namespaces 2024-04-29 16:49:35 +02:00
moljac d50c8438d6 spell chacks 2024-04-29 16:46:19 +02:00
moljac 1866ae0976 automatic files 2024-04-29 16:46:09 +02:00
moljac 76343d412c DataStore exclusions 2024-04-29 16:45:11 +02:00
moljac cc011306ec metadata for duplicate classes 2024-04-25 22:52:41 +02:00
moljac 228e856595 spelling 2024-04-25 22:52:03 +02:00
moljac c4ee3cee90 fix for multiple classes 2024-04-25 22:51:52 +02:00
moljac 2385d291e1 refactoring 2024-04-25 20:03:13 +02:00
moljac e2ae94a317 fixes for error CS0433: The type 'IDataStore' exists in both 2024-04-25 20:01:18 +02:00
moljac e588594774 Google.Common.Util.Concurrent.IListenableFuture 2024-04-25 17:44:51 +02:00
moljac 7706a07aee
Merge branch 'main' into wsu-20240419 2024-04-23 06:50:32 +02:00
Jonathan Pobst 718dd86dfc
Bump to .NET 8 '8.0.204' generator. (#869)
Update the version of `generator` used to build the `net7.0-android` version of our packages.

This should contain https://github.com/xamarin/java.interop/pull/1202, which is needed for binding AndroidX Media3.
2024-04-22 07:51:19 -10:00
Jonathan Pobst 27ff690cc4
[AndroidX.Browser] Obsolete CustomTabsActivityManager.From with message describing its shortcomings. (#874)
Fixes https://github.com/xamarin/AndroidX/issues/873

The method `CustomTabsActivityManager.From (Activity parentActivity, string? servicePackageName = null)` caches the passed in `parentActivity` forever, which can cause a memory leak.

Additionally, only the first `parentActivity` passed in supported.  Subsequent `parentActivity` arguments are ignored and the first one is always reused.

Mark this helper method as `[Obsolete]` and recommend consumers implement any desired caching themselves in a way that respects the parent activity(ies) and their lifetimes properly for the relevant application.
2024-04-22 07:50:48 -10:00
moljac 808386dbda ReplaceFileCorruptionHandler defined in multiple assemblies 2024-04-21 00:10:52 +02:00
moljac c3c7d31d3f more types defined in multiple assemblies fixes 2024-04-20 23:34:39 +02:00
moljac 433d6db5b7 types defined in multiple assemblies fix 2024-04-20 22:45:18 +02:00
moljac 91570c3ecf fixing duplicate types 2024-04-20 19:40:37 +02:00
moljac b08404d4ed metadata fixes androidx.datastore 2024-04-20 18:37:39 +02:00
moljac 750b1cff7d config fixes 2024-04-20 18:37:18 +02:00
moljac d69668c89a
Merge branch 'main' into wsu-20240419 2024-04-20 00:02:18 +02:00
Jonathan Pobst 7702d1663a
[ci] Ensure logs and artifacts get published on failed builds. (#876)
After [migrating to the 1ES template](https://github.com/xamarin/AndroidX/pull/844), when our build fails, no logs or artifacts are retained, making it very hard to diagnose the issue.  Add an `always` condition to the output upload so these will get saved.

Example build demonstrating artifacts are uploaded on failure:
https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=9440304&view=results
2024-04-19 07:16:32 -10:00
moljac 5aeb51fb66 updates + new dependencies 2024-04-19 17:29:56 +02:00
moljac 1f215c0a5c
Merge pull request #872 from xamarin/wsu-20240412
Weekly stable updates 20240412
2024-04-15 19:43:12 +02:00
moljac b384ca7296
Merge branch 'main' into wsu-20240412 2024-04-15 19:43:04 +02:00
moljac 9938d6b19b
Merge pull request #871 from xamarin/mu-20240409-tooling-updates
Manual updates 20240410 - tooling version bumps Was #870 (branch name typo)
2024-04-15 19:42:48 +02:00
moljac 3502b32b4f automatic files 2024-04-15 09:00:28 +02:00
moljac d2d5c4ae59 reverting tool bump 2024-04-14 15:25:26 +02:00