Skip to content
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

Using SDK Version variables from root project #185

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

rayronvictor
Copy link
Contributor

Instead of assuming the compileSdkVersion, targetSdkVersion, etc, read it from the root project.
Default compileSdkVersion and targetSdkVersion to the latest versions.

Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#17741
facebook/react-native#18095

Instead of assuming the `compileSdkVersion`, `targetSdkVersion`, etc, read it from the root project.
Default `compileSdkVersion` and `targetSdkVersion` to the latest versions.

Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#17741
facebook/react-native#18095
compile 'com.facebook.react:react-native:+'
}
//noinspection GradleDynamicVersion
compile "com.facebook.react:react-native:${_reactNativeVersion}"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

implementation for the new Gradle versions. compile will be removed at the end of 2018

@GertjanReynaert
Copy link

@zoontek Would you mind merging/releasing this since it's blocking upgrading to react-native 56

@zoontek zoontek merged commit c5a0ac4 into AlexanderZaytsev:master Jul 12, 2018
@GertjanReynaert
Copy link

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants