Skip to content

Commit

Permalink
[Mono.Android] Generate API docs for android-34 (#8383)
Browse files Browse the repository at this point in the history
Updates xaprepare to install the `sources-34_r01` Android SDK package,
allowing our API docs generation tasks to use the latest sources.
  • Loading branch information
pjcollins authored and jonathanpeppers committed Oct 10, 2023
1 parent 8a68f51 commit 5546827
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ public AndroidToolchain ()
new AndroidPlatformComponent ("platform-33_r02", apiLevel: "33", pkgRevision: "2"),
new AndroidPlatformComponent ("platform-34-ext7_r01", apiLevel: "34", pkgRevision: "1"),

new AndroidToolchainComponent ("sources-33_r01",
destDir: Path.Combine ("sources", "android-33"),
new AndroidToolchainComponent ("sources-34_r01",
destDir: Path.Combine ("sources", "android-34"),
pkgRevision: "1",
dependencyType: AndroidToolchainComponentType.BuildDependency,
buildToolVersion: "33.1"
buildToolVersion: "34.1"
),
new AndroidToolchainComponent ("docs-24_r01",
destDir: "docs",
Expand Down
6 changes: 3 additions & 3 deletions src/Mono.Android/Mono.Android.targets
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@

<PropertyGroup>
<!-- Override these properties to generate docs against a specific API level -->
<DocsApiLevel Condition=" '$(DocsApiLevel)' == '' ">33</DocsApiLevel>
<DocsPlatformId Condition=" '$(DocsPlatformId)' == '' ">33</DocsPlatformId>
<DocsFxMoniker Condition=" '$(DocsFxMoniker)' == '' ">xamarin-android-sdk-13</DocsFxMoniker>
<DocsApiLevel Condition=" '$(DocsApiLevel)' == '' ">34</DocsApiLevel>
<DocsPlatformId Condition=" '$(DocsPlatformId)' == '' ">$(DocsApiLevel)</DocsPlatformId>
<DocsFxMoniker Condition=" '$(DocsFxMoniker)' == '' ">net-android-$(DocsApiLevel).0</DocsFxMoniker>
<_LogPrefix>$(MSBuildThisFileDirectory)../../bin/Build$(Configuration)/UpdateApiDocs-$([System.DateTime]::Now.ToString ("yyyyMMddTHHmmss"))</_LogPrefix>
<_Mdoc Condition=" '$(Pkgmdoc)' != '' ">"$(Pkgmdoc)/tools/mdoc.exe"</_Mdoc>
<_Mdoc Condition=" '$(Pkgmdoc)' == '' ">"$(XAPackagesDir)/mdoc/$(MdocPackageVersion)/tools/mdoc.exe"</_Mdoc>
Expand Down

0 comments on commit 5546827

Please sign in to comment.