Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 1038010

Browse files
authored
Merge pull request #107 from xamarin/27.0.2.1
Use newer java interop code gen target
2 parents e15142b + 0b84d65 commit 1038010

File tree

46 files changed

+143
-87
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+143
-87
lines changed

animated-vector-drawable/source/Animated-Vector-Drawable.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

appcompat-v7/source/V7-AppCompat.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

arch-core/common/source/Arch.Core.Common.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

arch-core/runtime/source/Arch.Core.Runtime.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

arch-lifecycle/common/source/Arch.Lifecycle.Common.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

arch-lifecycle/extensions/source/Arch.Lifecycle.Extensions.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
1414
<AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
1515
<AndroidClassParser>class-parse</AndroidClassParser>
16+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1617
</PropertyGroup>
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<DebugSymbols>true</DebugSymbols>

arch-lifecycle/runtime/source/Arch.Lifecycle.Runtime.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

build.cake

+9-8
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
#addin nuget:?package=Cake.Xamarin&version=3.0.0
1717
#addin nuget:?package=Cake.XCode&version=4.0.0
1818
#addin nuget:?package=Cake.Xamarin.Build&version=4.0.0
19-
#addin nuget:?package=Cake.Compression&version=0.1.4
19+
#addin nuget:?package=SharpZipLib&version=0.86.0
20+
#addin nuget:?package=Cake.Compression&version=0.1.6
2021
#addin nuget:?package=Cake.Android.SdkManager&version=3.0.0
2122
#addin nuget:?package=Cake.Android.Adb&version=3.0.0
2223
#addin nuget:?package=Cake.MonoApiTools&version=2.0.0
@@ -35,7 +36,7 @@ var BUILD_CONFIG = Argument ("config", "Release");
3536

3637
var NUGET_PRE = "";
3738

38-
var NUGET_VERSION = "27.0.2" + NUGET_PRE;
39+
var NUGET_VERSION = "27.0.2.1" + NUGET_PRE;
3940
var COMPONENT_VERSION = "27.0.2.0";
4041
var AAR_VERSION = "27.0.2";
4142

@@ -45,11 +46,11 @@ var ARCH_LIFECYCLE_COMMON_AAR_VERSION = "1.0.3";
4546
var ARCH_LIFECYCLE_RUNTIME_AAR_VERSION = "1.0.3";
4647
var ARCH_LIFECYCLE_EXTENSIONS_AAR_VERSION = "1.0.0";
4748

48-
var ARCH_CORE_COMMON_NUGET_VERSION = "1.0.0" + NUGET_PRE;
49-
var ARCH_CORE_RUNTIME_NUGET_VERSION = "1.0.0" + NUGET_PRE;
50-
var ARCH_LIFECYCLE_COMMON_NUGET_VERSION = "1.0.3" + NUGET_PRE;
51-
var ARCH_LIFECYCLE_RUNTIME_NUGET_VERSION = "1.0.3" + NUGET_PRE;
52-
var ARCH_LIFECYCLE_EXTENSIONS_NUGET_VERSION = "1.0.0" + NUGET_PRE;
49+
var ARCH_CORE_COMMON_NUGET_VERSION = "1.0.0.1" + NUGET_PRE;
50+
var ARCH_CORE_RUNTIME_NUGET_VERSION = "1.0.0.1" + NUGET_PRE;
51+
var ARCH_LIFECYCLE_COMMON_NUGET_VERSION = "1.0.3.1" + NUGET_PRE;
52+
var ARCH_LIFECYCLE_RUNTIME_NUGET_VERSION = "1.0.3.1" + NUGET_PRE;
53+
var ARCH_LIFECYCLE_EXTENSIONS_NUGET_VERSION = "1.0.0.1" + NUGET_PRE;
5354

5455

5556
var DOC_VERSION = "2017-12-18";
@@ -67,7 +68,7 @@ var REFERENCE_DOCS_URL = "https://developer.android.com/reference/";
6768
var REFERENCE_DOCS_PACKAGELIST_URL = REFERENCE_DOCS_URL + "android/support/package-list";
6869

6970
// We grab the previous release's api-info.xml to use as a comparison for this build's generated info to make an api-diff
70-
var BASE_API_INFO_URL = EnvironmentVariable("MONO_API_INFO_XML_URL") ?? "https://github.com/xamarin/AndroidSupportComponents/releases/download/26.1.0/api-info.xml";
71+
var BASE_API_INFO_URL = EnvironmentVariable("MONO_API_INFO_XML_URL") ?? "https://github.com/xamarin/AndroidSupportComponents/releases/download/27.0.2/api-info.xml";
7172

7273
var CPU_COUNT = 1;
7374
var USE_MSBUILD_ON_MAC = true;

build.sh

+10-5
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,16 @@ fi
4747

4848
# Make sure that packages.config exist.
4949
if [ ! -f "$TOOLS_DIR/packages.config" ]; then
50-
echo "Downloading packages.config..."
51-
curl -Lsfo "$TOOLS_DIR/packages.config" https://cakebuild.net/download/bootstrapper/packages
52-
if [ $? -ne 0 ]; then
53-
echo "An error occurred while downloading packages.config."
54-
exit 1
50+
if [ ! -f "$SCRIPT_DIR/cake.packages.config" ]; then
51+
echo "Downloading packages.config..."
52+
curl -Lsfo "$TOOLS_DIR/packages.config" https://cakebuild.net/download/bootstrapper/packages
53+
if [ $? -ne 0 ]; then
54+
echo "An error occurred while downloading packages.config."
55+
exit 1
56+
fi
57+
else
58+
echo "using local cake.packages.config..."
59+
cp "$SCRIPT_DIR/cake.packages.config" "$TOOLS_DIR/packages.config"
5560
fi
5661
fi
5762

cake.packages.config

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Cake" version="0.27.0" />
4+
</packages>

cardview-v7/source/V7-CardView.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<ProductVersion>8.0.30703</ProductVersion>
1919
<SchemaVersion>2.0</SchemaVersion>
2020
<AndroidClassParser>class-parse</AndroidClassParser>
21+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2122
</PropertyGroup>
2223
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2324
<DebugSymbols>true</DebugSymbols>

constraint-layout/source/ConstraintLayout.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
1414
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
1515
<AndroidClassParser>class-parse</AndroidClassParser>
16+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1617
</PropertyGroup>
1718
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1819
<DebugSymbols>true</DebugSymbols>

customtabs/source/CustomTabs.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<DelaySign>true</DelaySign>
1818
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1919
<AndroidClassParser>class-parse</AndroidClassParser>
20+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2021
</PropertyGroup>
2122
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2223
<DebugSymbols>true</DebugSymbols>

design/source/Design.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<DelaySign>true</DelaySign>
1818
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1919
<AndroidClassParser>class-parse</AndroidClassParser>
20+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2021
</PropertyGroup>
2122
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2223
<DebugSymbols>true</DebugSymbols>

exifinterface/source/Exif.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
</PropertyGroup>
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>

gridlayout-v7/source/V7-GridLayout.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

leanback-v17/source/V17-Leanback.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<ProductVersion>8.0.30703</ProductVersion>
1919
<SchemaVersion>2.0</SchemaVersion>
2020
<AndroidClassParser>class-parse</AndroidClassParser>
21+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2122
</PropertyGroup>
2223
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2324
<DebugSymbols>true</DebugSymbols>

mediarouter-v7/source/V7-MediaRouter.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

palette-v7/source/V7-Palette.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

percent/source/Percent.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

preference-leanback-v17/source/V17-Preference-Leanback.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

preference-v14/source/V14-Preference.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ProductVersion>8.0.30703</ProductVersion>
2121
<SchemaVersion>2.0</SchemaVersion>
2222
<AndroidClassParser>class-parse</AndroidClassParser>
23+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2324
</PropertyGroup>
2425
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2526
<DebugSymbols>true</DebugSymbols>

preference-v7/source/V7-Preference.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<ProductVersion>8.0.30703</ProductVersion>
2121
<SchemaVersion>2.0</SchemaVersion>
2222
<AndroidClassParser>class-parse</AndroidClassParser>
23+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2324
</PropertyGroup>
2425
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2526
<DebugSymbols>true</DebugSymbols>

recommendation/source/Recommendation.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

recyclerview-v7/source/V7-RecyclerView.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<ProductVersion>8.0.30703</ProductVersion>
2020
<SchemaVersion>2.0</SchemaVersion>
2121
<AndroidClassParser>class-parse</AndroidClassParser>
22+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2223
</PropertyGroup>
2324
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2425
<DebugSymbols>true</DebugSymbols>

renderscript-v8/source/V8-RenderScript.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<ProductVersion>8.0.30703</ProductVersion>
1919
<SchemaVersion>2.0</SchemaVersion>
2020
<AndroidClassParser>class-parse</AndroidClassParser>
21+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
2122
</PropertyGroup>
2223
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2324
<DebugSymbols>true</DebugSymbols>

support-annotations/source/Annotations.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

support-compat/nuget/template.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependencies>
1616
<group targetFramework="MonoAndroid81">
1717
<dependency id="Xamarin.Android.Support.Annotations" version="[$version$]" />
18-
<dependency id="Xamarin.Android.Arch.Lifecycle.Runtime" version="1.0.3" />
18+
<dependency id="Xamarin.Android.Arch.Lifecycle.Runtime" version="$android.arch.lifecycle.runtime$" />
1919
</group>
2020
</dependencies>
2121
</metadata>

support-compat/source/Compat.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

support-content/source/Content.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

support-core-ui/source/Core-UI.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

support-core-utils/source/Core-Utils.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<DelaySign>true</DelaySign>
1717
<AssemblyOriginatorKeyFile>publickey.snk</AssemblyOriginatorKeyFile> -->
1818
<AndroidClassParser>class-parse</AndroidClassParser>
19+
<AndroidCodegenTarget>XAJavaInterop1</AndroidCodegenTarget>
1920
<ProductVersion>8.0.30703</ProductVersion>
2021
<SchemaVersion>2.0</SchemaVersion>
2122
</PropertyGroup>

0 commit comments

Comments
 (0)