File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1093,8 +1093,13 @@ public void AndroidMavenLibrary_IgnoreDependencyVerification ([Values] AndroidRu
10931093 }
10941094
10951095 [ Test ]
1096- public void AndroidMavenLibrary_AllDependenciesAreVerified ( )
1096+ public void AndroidMavenLibrary_AllDependenciesAreVerified ( [ Values ] AndroidRuntime runtime )
10971097 {
1098+ bool isRelease = runtime == AndroidRuntime . NativeAOT ;
1099+ if ( IgnoreUnsupportedConfiguration ( runtime , release : isRelease ) ) {
1100+ return ;
1101+ }
1102+
10981103 // Test that <AndroidMavenLibrary> triggers Java dependency verification and that
10991104 // all dependencies are verified via various supported mechanisms
11001105
@@ -1126,10 +1131,12 @@ public void AndroidMavenLibrary_AllDependenciesAreVerified ()
11261131 var parcelable = new BuildItem ( "AndroidIgnoredJavaDependency" , "androidx.versionedparcelable:versionedparcelable:1.2.0" ) ;
11271132
11281133 var proj = new XamarinAndroidBindingProject {
1134+ IsRelease = isRelease ,
11291135 Jars = { item , annotations_experimental_androidlib } ,
11301136 PackageReferences = { annotations_nuget } ,
11311137 OtherBuildItems = { concurrent , lifecycle , parcelable } ,
11321138 } ;
1139+ proj . SetRuntime ( runtime ) ;
11331140
11341141 proj . AddReference ( collection ) ;
11351142 var collection_proj = proj . References . First ( ) ;
You can’t perform that action at this time.
0 commit comments