Skip to content

fix: set correct versions in plugin's build.gradle #4352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2019

Conversation

rosen-vladimirov
Copy link
Contributor

@rosen-vladimirov rosen-vladimirov commented Feb 8, 2019

With Gradle 3.3.0 (used in tns-android 5.2.0-... ) dependencies checking is stricter and there are some problems in the resolution of the supportLibrary version when building plugins. Issue is raised when the plugin has any of the following:

  • another compile dependency which is built with compile of android support library version that is not the same as the one we are using
  • plugin defines in its gradle new version of android support library, that is different from the one specified in our build.gradle.

To resolve this, set all versions of com.android.support libraries to the passed supportVersion or 28.0.0
Also update other tooling versions to latest versions.

PR Checklist

What is the current behavior?

Unable to build .aar for plugins with rc version of Android runtime.

What is the new behavior?

Plugins can be build.

Fixes issue #4353

With Gradle 3.3.0 (used in tns-android 5.2.0-... ) dependencies checking is stricter and there are some problems in the resolution of the supportLibrary version when building plugins. Issue is raised when the plugin has any of the following:
* another compile dependency which is built with `compile` of android support library version that is not the same as the one we are using
* plugin defines in its gradle new version of android support library, that is different from the one specified in our build.gradle.

To resolve this, set all versions of `com.android.support` libraries to the passed supportVersion or 28.0.0
Also update other tooling versions to latest versions.
@rosen-vladimirov rosen-vladimirov merged commit deccede into release Feb 8, 2019
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/fix-gradle branch February 8, 2019 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants