Skip to content

Provide warnings around compileSdkVersion(TargetFrameworkVersion), targetSdkVersion, and minSdkVersion - #2050

Merged
jonpryor merged 4 commits into
dotnet:masterfrom
dellis1972:Issue1768
Feb 18, 2019
Merged

jonpryor merged 4 commits into
dotnet:masterfrom
dellis1972:Issue1768

Conversation

@dellis1972

@dellis1972 dellis1972 commented Aug 9, 2018 •

Copy link
Copy Markdown
Contributor

Context #1768

Google has the following guidance for these three values:

minSdkVersion (lowest possible) <= targetSdkVersion == compileSdkVersion (latest SDK)

This commit adds a new Task CheckGoogleSdkRequirements which is responsible for checking
these values. It will be enabled by default but the task can be disabled via the
AndroidEnableGooglePlayStoreChecks property.

Comment thread src/Xamarin.Android.Build.Tasks/Tasks/CheckGoogleSdkRequirements.cs
Comment thread src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.targets Outdated
Comment thread src/Xamarin.Android.Build.Tasks/Tasks/CheckGoogleSdkRequirements.cs
@dellis1972

Copy link
Copy Markdown
Contributor Author

build

@dellis1972

Copy link
Copy Markdown
Contributor Author

build

@jonpryor

Copy link
Copy Markdown
Contributor

Review pending clarifications on the original issue.

@dellis1972

Copy link
Copy Markdown
Contributor Author

The failure here is <span class='removed removed-method breaking' data-is-breaking>public static string Concat (object, object, object, object);</span> so its not related to the PR.

@dellis1972
dellis1972 force-pushed the Issue1768 branch 5 times, most recently from 7cbad1c to a2e568d Compare October 12, 2018 12:43
@dellis1972
dellis1972 force-pushed the Issue1768 branch 4 times, most recently from b5dc5c5 to 11f21a2 Compare October 23, 2018 15:57
@dellis1972 dellis1972 changed the title Provide warnings and errors around compileSdkVersion(TargetFrameworkVersion), targetSdkVersion, and minSdkVersion Provide warnings around compileSdkVersion(TargetFrameworkVersion), targetSdkVersion, and minSdkVersion Nov 6, 2018
@dellis1972

Copy link
Copy Markdown
Contributor Author

@jonpryor @JonDouglas any thoughts on the PR? Did we decide what we are doing ?

…on, targetSdkVersion, and minSdkVersion

Context dotnet#1768

Google has the following guidance for these three values:

> minSdkVersion (lowest possible) <= targetSdkVersion == compileSdkVersion (latest SDK)

This commit adds a new Task `CheckGoogleSdkRequirements` which is responsible for checking
these values. It will be enabled by default but the task can be disabled via the
`AndroidEnableGooglePlayStoreChecks` property.
@jonpryor
jonpryor merged commit 55ba747 into dotnet:master Feb 18, 2019
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants