@@ -70,7 +70,7 @@ public void DotNetBuild (string runtimeIdentifiers, bool isRelease, bool aot, bo
7070			proj . OtherBuildItems . Add  ( new  BuildItem  ( "JavaSourceJar" ,  "javaclasses-sources.jar" )  { 
7171				BinaryContent  =  ( )  =>  ResourceData . JavaSourceJarTestSourcesJar , 
7272			} ) ; 
73- 			proj . OtherBuildItems . Add  ( new  AndroidItem . AndroidJavaSource  ( "JavaSourceTestExtension.java" )  { 
73+ 			proj . AndroidJavaSources . Add  ( new  AndroidItem . AndroidJavaSource  ( "JavaSourceTestExtension.java" )  { 
7474				Encoding  =  Encoding . ASCII , 
7575				TextContent  =  ( )  =>  ResourceData . JavaSourceTestExtension , 
7676				Metadata  =  {  {  "Bind" ,  "True" }  } , 
@@ -1519,7 +1519,7 @@ public void BuildApplicationWithJavaSourceUsingAndroidX ([Values(true, false)] b
15191519		{ 
15201520			var  proj  =  new  XamarinAndroidApplicationProject  ( )  { 
15211521				IsRelease  =  isRelease , 
1522- 				OtherBuildItems  =  { 
1522+ 				AndroidJavaSources  =  { 
15231523					new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "ToolbarEx.java" )  { 
15241524						TextContent  =  ( )  =>  @"package com.unnamedproject.unnamedproject; 
15251525import android.content.Context; 
@@ -1564,11 +1564,11 @@ public void BuildApplicationCheckThatAddStaticResourcesTargetDoesNotRerun ()
15641564		public  void  CheckJavaError  ( ) 
15651565		{ 
15661566			var  proj  =  new  XamarinAndroidApplicationProject  ( ) ; 
1567- 			proj . OtherBuildItems . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe.java" )  { 
1567+ 			proj . AndroidJavaSources . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe.java" )  { 
15681568				TextContent  =  ( )  =>  "public classo TestMe { }" , 
15691569				Encoding  =  Encoding . ASCII 
15701570			} ) ; 
1571- 			proj . OtherBuildItems . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe2.java" )  { 
1571+ 			proj . AndroidJavaSources . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe2.java" )  { 
15721572				TextContent  =  ( )  =>  "public class TestMe2 {"  + 
15731573					"public vod Test ()"  + 
15741574					"}" , 
0 commit comments