Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 25.2k
Upgrade Gradle and Android SDK versions.#17747
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
43fdaccf37d9a1c9a392fc834ecc99dcddfa71a55df98deb1File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| dependencies { | ||
| compile fileTree(dir: "libs", include: ["*.jar"]) | ||
| compile "com.android.support:appcompat-v7:23.0.1" | ||
| compile "com.facebook.react:react-native:0.18.+" | ||
| implementation fileTree(dir: "libs", include: ["*.jar"]) | ||
| implementation "com.android.support:appcompat-v7:27.1.1" | ||
| implementation "com.facebook.react:react-native:0.18.+" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| dependencies { | ||
| compile project(':test') | ||
| compile(project(':test2')) { | ||
| implementation project(':test') | ||
| implementation(project(':test2')) { | ||
| exclude(group: 'org.unwanted', module: 'test10') | ||
| } | ||
| compile fileTree(dir: "libs", include: ["*.jar"]) | ||
| compile "com.android.support:appcompat-v7:23.0.1" | ||
| compile "com.facebook.react:react-native:0.18.+" | ||
| implementation fileTree(dir: "libs", include: ["*.jar"]) | ||
| implementation "com.android.support:appcompat-v7:27.1.1" | ||
| implementation "com.facebook.react:react-native:0.18.+" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME | ||
| distributionPath=wrapper/dists | ||
| zipStoreBase=GRADLE_USER_HOME | ||
| zipStorePath=wrapper/dists | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip | ||
| distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-all.zip | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note to myself or whoever imports this to FB: If this PR is approved, please see D8459570 for an example of how to update the offline Gradle cache as part of the import process. This will needed in order to land this PR without breaking the internal React Native OSS Android test. | ||
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.
Actually, we rely on
buildToolsVersionin the CI. That's whytest_androidis failing.https://github.com/facebook/react-native/blob/b63015d34ef51585c452142f666d4f36ceaa1b56/scripts/validate-android-test-env.sh#L55
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.
The new gradle version will choose the build tools version itself, but specifying it here won't (afaik) hurt either.