@@ -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" }  } , 
@@ -1505,7 +1505,7 @@ public void BuildApplicationWithJavaSourceUsingAndroidX ([Values(true, false)] b
15051505		{ 
15061506			var  proj  =  new  XamarinAndroidApplicationProject  ( )  { 
15071507				IsRelease  =  isRelease , 
1508- 				OtherBuildItems  =  { 
1508+ 				AndroidJavaSources  =  { 
15091509					new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "ToolbarEx.java" )  { 
15101510						TextContent  =  ( )  =>  @"package com.unnamedproject.unnamedproject; 
15111511import android.content.Context; 
@@ -1550,11 +1550,11 @@ public void BuildApplicationCheckThatAddStaticResourcesTargetDoesNotRerun ()
15501550		public  void  CheckJavaError  ( ) 
15511551		{ 
15521552			var  proj  =  new  XamarinAndroidApplicationProject  ( ) ; 
1553- 			proj . OtherBuildItems . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe.java" )  { 
1553+ 			proj . AndroidJavaSources . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe.java" )  { 
15541554				TextContent  =  ( )  =>  "public classo TestMe { }" , 
15551555				Encoding  =  Encoding . ASCII 
15561556			} ) ; 
1557- 			proj . OtherBuildItems . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe2.java" )  { 
1557+ 			proj . AndroidJavaSources . Add  ( new  BuildItem  ( AndroidBuildActions . AndroidJavaSource ,  "TestMe2.java" )  { 
15581558				TextContent  =  ( )  =>  "public class TestMe2 {"  + 
15591559					"public vod Test ()"  + 
15601560					"}" , 
0 commit comments