-
Notifications
You must be signed in to change notification settings - Fork 141
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
Fix Android gradle build script #32
base: master
Are you sure you want to change the base?
Conversation
Manually bring in PR 32 from original repo APSL#32
|
||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion 23 | ||
buildToolsVersion "23.0.1" | ||
compileSdkVersion safeExtGet('compileSdkVersion', 26) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the version to 27?
compileSdkVersion 23 | ||
buildToolsVersion "23.0.1" | ||
compileSdkVersion safeExtGet('compileSdkVersion', 26) | ||
buildToolsVersion safeExtGet('buildToolsVersion', '26.0.3') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the version to 27?
minSdkVersion 16 | ||
targetSdkVersion 22 | ||
minSdkVersion safeExtGet('minSdkVersion', 16) | ||
targetSdkVersion safeExtGet('targetSdkVersion', 26) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change the version to 27?
This is similar to #27 but use a cleaner way to achieve the same result.
As of 0.56, we RN proj start declaring a few constants that libraries can query about.
Some library uses this technique so I'm porting it over here: