From c10e990267e33c3c59b967d5a838e01a21158ae3 Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Mon, 21 Oct 2024 13:16:41 -1000 Subject: [PATCH] Updates needed to build on `net9.0-android` RTM. --- source/AndroidXProject.cshtml | 3 ++- source/_PackageLevelCustomizations.cshtml | 9 +++++++ .../paging-common-jvm/Transforms/Metadata.xml | 8 ++++++ .../work-runtime/Transforms/Metadata.xml | 1 + .../protobuf-lite/Transforms/Metadata.xml | 8 ++++++ .../kotlin-stdlib/Transforms/Metadata.xml | 25 ++++++++++++++++++- 6 files changed, 52 insertions(+), 2 deletions(-) diff --git a/source/AndroidXProject.cshtml b/source/AndroidXProject.cshtml index dc5b9e974..10ec5b39c 100644 --- a/source/AndroidXProject.cshtml +++ b/source/AndroidXProject.cshtml @@ -22,8 +22,9 @@ - CS0809: Obsolete member 'member' overrides non-obsolete member 'member' - CS1572: XML comment has a param tag for '', but there is no parameter by that name - XAOBS001: While this member is 'public', Google considers it internal API and reserves the right to modify or delete it in the future. Use at your own risk. + - NU1605: Detected package downgrade --> - 0618;0109;0114;0628;0108;0809;1572;XAOBS001 + 0618;0109;0114;0628;0108;0809;1572;XAOBS001;NU1605 @if (Model.AllowPrereleaseDependencies) { diff --git a/source/_PackageLevelCustomizations.cshtml b/source/_PackageLevelCustomizations.cshtml index 4f48b1bc7..f63328583 100644 --- a/source/_PackageLevelCustomizations.cshtml +++ b/source/_PackageLevelCustomizations.cshtml @@ -55,3 +55,12 @@ } + +@* .NET 9 changes some binding internals that breaks some of our hand bound code. This property reverts + to the old behavior. Once we are .NET 9+ we should redo our hand bound code and remove this. *@ +@if (@Model.NuGetPackageId == "Xamarin.AndroidX.Media3.ExoPlayer") +{ + + <_AndroidEmitLegacyInterfaceInvokers>true + +} diff --git a/source/androidx.paging/paging-common-jvm/Transforms/Metadata.xml b/source/androidx.paging/paging-common-jvm/Transforms/Metadata.xml index 877384035..6ecbb00d2 100644 --- a/source/androidx.paging/paging-common-jvm/Transforms/Metadata.xml +++ b/source/androidx.paging/paging-common-jvm/Transforms/Metadata.xml @@ -109,4 +109,12 @@ public + + + java/util/SequencedCollection.reversed()Ljava/util/SequencedCollection; + + \ No newline at end of file diff --git a/source/androidx.work/work-runtime/Transforms/Metadata.xml b/source/androidx.work/work-runtime/Transforms/Metadata.xml index 5aa1c0894..80c8c0dd4 100644 --- a/source/androidx.work/work-runtime/Transforms/Metadata.xml +++ b/source/androidx.work/work-runtime/Transforms/Metadata.xml @@ -11,6 +11,7 @@ AndroidX.Work.WorkRequest.Builder AndroidX.Work.WorkRequest.Builder AndroidX.Work.WorkRequest.Builder + AndroidX.Work.WorkRequest.Builder + + + java/util/SequencedCollection.reversed()Ljava/util/SequencedCollection; + + diff --git a/source/org.jetbrains.kotlin/kotlin-stdlib/Transforms/Metadata.xml b/source/org.jetbrains.kotlin/kotlin-stdlib/Transforms/Metadata.xml index d5a31dfb7..76c2db212 100644 --- a/source/org.jetbrains.kotlin/kotlin-stdlib/Transforms/Metadata.xml +++ b/source/org.jetbrains.kotlin/kotlin-stdlib/Transforms/Metadata.xml @@ -152,6 +152,7 @@ + java.lang.CharSequence java.lang.CharSequence @@ -444,4 +445,26 @@ - + + + java/util/SequencedCollection.reversed()Ljava/util/SequencedCollection; + + + + java/util/SequencedCollection.reversed()Ljava/util/SequencedCollection; + + + + + java/util/SequencedCollection.reversed()Ljava/util/SequencedCollection; + +