@@ -16,9 +16,9 @@ LogSystemInfo ();
1616var TARGET = Argument ( "t ", Argument ( "target", "Default") ) ;
1717var BUILD_CONFIG = Argument ( "config ", "Release") ;
1818
19- var NUGET_VERSION = "26.0 .0 - beta2 ";
20- var COMPONENT_VERSION = "26.0 .0 .0 ";
21- var AAR_VERSION = "26.0 .0 - beta2 ";
19+ var NUGET_VERSION = "25.4 .0 ";
20+ var COMPONENT_VERSION = "25.4 .0 .0 ";
21+ var AAR_VERSION = "25.4 .0 ";
2222var XBD_VERSION = "0.4 .5 ";
2323
2424var SUPPORT_PKG_NAME = "com.android.support" ;
@@ -65,14 +65,16 @@ var ARTIFACTS = new [] {
6565 new ArtifactInfo ( SUPPORT_PKG_NAME , "support-dynamic-animation" , "Xamarin.Android.Support.Dynamic.Animation" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
6666 new ArtifactInfo ( SUPPORT_PKG_NAME , "support-media-compat" , "Xamarin.Android.Support.Media.Compat" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
6767 new ArtifactInfo ( SUPPORT_PKG_NAME , "support-fragment" , "Xamarin.Android.Support.Fragment" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
68- new ArtifactInfo ( SUPPORT_PKG_NAME , "support-tv-provider" , "Xamarin.Android.Support.TV.Provider" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
68+ // new ArtifactInfo (SUPPORT_PKG_NAME, "support-tv-provider", "Xamarin.Android.Support.TV.Provider", AAR_VERSION, NUGET_VERSION, COMPONENT_VERSION),
6969 new ArtifactInfo ( SUPPORT_PKG_NAME , "transition" , "Xamarin.Android.Support.Transition" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
7070 new ArtifactInfo ( SUPPORT_PKG_NAME , "exifinterface" , "Xamarin.Android.Support.Exif" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
7171 new ArtifactInfo ( SUPPORT_PKG_NAME , "wearable" , "Xamarin.Android.Support.Wearable" , "26.0.0-alpha1" , "26.0.0-alpha1" , COMPONENT_VERSION ) ,
7272 new ArtifactInfo ( SUPPORT_PKG_NAME , "support-annotations" , "Xamarin.Android.Support.Annotations" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION , true ) ,
73- new ArtifactInfo ( SUPPORT_PKG_NAME , "support-emoji" , "Xamarin.Android.Support.Emoji" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
74- new ArtifactInfo ( SUPPORT_PKG_NAME , "support-emoji-appcompat" , "Xamarin.Android.Support.Emoji.AppCompat" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
75- new ArtifactInfo ( SUPPORT_PKG_NAME , "support-emoji-bundled" , "Xamarin.Android.Support.Emoji.Bundled" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
73+ //new ArtifactInfo (SUPPORT_PKG_NAME, "support-emoji", "Xamarin.Android.Support.Emoji", AAR_VERSION, NUGET_VERSION, COMPONENT_VERSION),
74+ //new ArtifactInfo (SUPPORT_PKG_NAME, "support-emoji-appcompat", "Xamarin.Android.Support.Emoji.AppCompat", AAR_VERSION, NUGET_VERSION, COMPONENT_VERSION),
75+ //new ArtifactInfo (SUPPORT_PKG_NAME, "support-emoji-bundled", "Xamarin.Android.Support.Emoji.Bundled", AAR_VERSION, NUGET_VERSION, COMPONENT_VERSION),
76+
77+ new ArtifactInfo ( SUPPORT_PKG_NAME , "renderscript-v8" , "Xamarin.Android.Support.v8.RenderScript" , AAR_VERSION , NUGET_VERSION , COMPONENT_VERSION ) ,
7678} ;
7779
7880class PartialZipInfo {
@@ -137,18 +139,18 @@ var buildSpec = new BuildSpec {
137139 new DefaultSolutionBuilder { SolutionPath = "./design/samples/Cheesesquare.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
138140 new DefaultSolutionBuilder { SolutionPath = "./percent/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
139141 new DefaultSolutionBuilder { SolutionPath = "./recommendation/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
140- new DefaultSolutionBuilder { SolutionPath = "./v4/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
141- new DefaultSolutionBuilder { SolutionPath = "./v7- appcompat/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
142- new DefaultSolutionBuilder { SolutionPath = "./v7- cardview/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
143- new DefaultSolutionBuilder { SolutionPath = "./v7- gridlayout/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
144- new DefaultSolutionBuilder { SolutionPath = "./v7- mediarouter/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
145- new DefaultSolutionBuilder { SolutionPath = "./v7- palette/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
146- new DefaultSolutionBuilder { SolutionPath = "./v7- preference/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
147- new DefaultSolutionBuilder { SolutionPath = "./v7- recyclerview/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
148- new DefaultSolutionBuilder { SolutionPath = "./v8- renderscript/samples/RenderScriptSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
149- new DefaultSolutionBuilder { SolutionPath = "./v13/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
150- new DefaultSolutionBuilder { SolutionPath = "./v17- leanback/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
151- new DefaultSolutionBuilder { SolutionPath = "./vector-drawable/samples/VectorDrawableSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
142+ new DefaultSolutionBuilder { SolutionPath = "./support- v4/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
143+ new DefaultSolutionBuilder { SolutionPath = "./appcompat-v7 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
144+ new DefaultSolutionBuilder { SolutionPath = "./cardview-v7 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
145+ new DefaultSolutionBuilder { SolutionPath = "./gridlayout-v7 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
146+ new DefaultSolutionBuilder { SolutionPath = "./mediarouter-v7 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
147+ new DefaultSolutionBuilder { SolutionPath = "./palette-v7 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
148+ new DefaultSolutionBuilder { SolutionPath = "./preference-v7 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
149+ new DefaultSolutionBuilder { SolutionPath = "./recyclerview-v7 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
150+ new DefaultSolutionBuilder { SolutionPath = "./renderscript-v8 /samples/RenderScriptSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
151+ new DefaultSolutionBuilder { SolutionPath = "./support- v13/samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
152+ new DefaultSolutionBuilder { SolutionPath = "./leanback-v17 /samples/AndroidSupportSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
153+ new DefaultSolutionBuilder { SolutionPath = "./support- vector-drawable/samples/VectorDrawableSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
152154 new DefaultSolutionBuilder { SolutionPath = "./animated-vector-drawable/samples/VectorDrawableSample.sln" , BuildsOn = BuildPlatforms . Windows | BuildPlatforms . Mac , MaxCpuCount = CPU_COUNT , AlwaysUseMSBuild = USE_MSBUILD_ON_MAC } ,
153155 } ,
154156
@@ -160,17 +162,17 @@ var buildSpec = new BuildSpec {
160162 new Component { ManifestDirectory = "./design/component" } ,
161163 new Component { ManifestDirectory = "./percent/component" } ,
162164 new Component { ManifestDirectory = "./recommendation/component" } ,
163- new Component { ManifestDirectory = "./v4/component" } ,
164- new Component { ManifestDirectory = "./v7- appcompat/component" } ,
165- new Component { ManifestDirectory = "./v7- cardview/component" } ,
166- new Component { ManifestDirectory = "./v7- gridlayout/component" } ,
167- new Component { ManifestDirectory = "./v7- palette/component" } ,
168- new Component { ManifestDirectory = "./v7- preference/component" } ,
169- new Component { ManifestDirectory = "./v7- recyclerview/component" } ,
170- new Component { ManifestDirectory = "./v8- renderscript/component" } ,
171- new Component { ManifestDirectory = "./v13/component" } ,
172- new Component { ManifestDirectory = "./v17- leanback/component" } ,
173- new Component { ManifestDirectory = "./vector-drawable/component" } ,
165+ new Component { ManifestDirectory = "./support- v4/component" } ,
166+ new Component { ManifestDirectory = "./appcompat-v7 /component" } ,
167+ new Component { ManifestDirectory = "./cardview-v7 /component" } ,
168+ new Component { ManifestDirectory = "./gridlayout-v7 /component" } ,
169+ new Component { ManifestDirectory = "./palette-v7 /component" } ,
170+ new Component { ManifestDirectory = "./preference-v7 /component" } ,
171+ new Component { ManifestDirectory = "./recyclerview-v7 /component" } ,
172+ new Component { ManifestDirectory = "./renderscript-v8 /component" } ,
173+ new Component { ManifestDirectory = "./support- v13/component" } ,
174+ new Component { ManifestDirectory = "./leanback-v17 /component" } ,
175+ new Component { ManifestDirectory = "./support- vector-drawable/component" } ,
174176 }
175177
176178} ;
@@ -195,6 +197,10 @@ Task ("externals")
195197 // Copy the .aar's to a better location
196198 foreach ( var art in ARTIFACTS ) {
197199
200+ // Manually process renderscript later
201+ if ( art . ArtifactId == "renderscript-v8" )
202+ continue ;
203+
198204 var localArtifact = "./externals/" + art . ArtifactId + ( art . IsJar ? ".jar" : ".aar" ) ;
199205 var artifactUrl = MAVEN_REPO_URL + art . Package . Replace ( "." , "/" ) + "/" + art . ArtifactId + "/" + art . ArtifactVersion + "/" + art . ArtifactId + "-" + art . ArtifactVersion + ( art . IsJar ? ".jar" : ".aar" ) ;
200206
@@ -448,8 +454,8 @@ Task ("component-docs").Does (() =>
448454} ) ;
449455
450456//Task ("libs").IsDependentOn ("nuget-setup").IsDependentOn ("genapi").IsDependentOn ("libs-base");
451- // Task ("libs").IsDependentOn ("genapi").IsDependentOn ("libs-base");
452- Task ( "libs" ) . IsDependentOn ( "libs-base" ) ;
457+ Task ( "libs" ) . IsDependentOn ( "genapi" ) . IsDependentOn ( "libs-base" ) ;
458+ // Task ("libs").IsDependentOn ("libs-base");
453459
454460Task ( "genapi" ) . IsDependentOn ( "libs-base" ) . IsDependentOn ( "externals" ) . Does ( ( ) => {
455461
0 commit comments