Summary:
Upgrade to Gradle `8.1.1`
Done using:
```bash
./gradlew wrapper --gradle-version=8.1.1 --distribution-type=all
```
This is to align with the bump to gradle `8.x` in React Native.
## Changelog
[GENERAL] [SECURITY] - Upgrade to Gradle `8.1.1`
Pull Request resolved: https://github.com/facebook/flipper/pull/4907
Test Plan: - CI checks should pass & builds should be successful without any errors.
Reviewed By: antonk52
Differential Revision: D47553708
Pulled By: passy
fbshipit-source-id: a0ab9ab732a254c563d8cb55b277f73571da8927
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4850
Quick drive-by change to avoid falling that far behind again as we did before the last Sustainathon.
Reviewed By: antonk52
Differential Revision: D46859127
fbshipit-source-id: 91fe675fc16ea66544920eeea070b344fa66340a
Summary:
Just to make sure that nobody injects something in our build chain. Checksum taken from the official website: https://gradle.org/release-checksums/
Pull Request resolved: https://github.com/facebook/flipper/pull/4704
Reviewed By: antonk52
Differential Revision: D45320680
fbshipit-source-id: 2a489264f3c377ef2c6bb4557cb788b4ab19bcc5
Summary:
Bumps gradle from 7.3.0 to 7.4.0.
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4443
Reviewed By: lblasa
Differential Revision: D42610002
Pulled By: passy
fbshipit-source-id: c6e2408dd3197eb81f91d59bf7160481756cbd42
Summary:
Done using
```
./gradlew wrapper --gradle-version=7.4 --distribution-type=all
```
Waiting for CI result to check if this also addresses the build problem.
Note for reviewers: This is generated. Scanning for Bad Things is appreciated but you don't need to carefully read every line.
Depends on https://github.com/facebook/flipper/issues/3436.
Pull Request resolved: https://github.com/facebook/flipper/pull/3437
Test Plan: The recently added test step for verifying that this doesn't regress our APK creation is passing: https://github.com/facebook/flipper/runs/5188576639?check_suite_focus=true
Reviewed By: lblasa
Differential Revision: D34218046
Pulled By: passy
fbshipit-source-id: 20d3c543db8f1c12f996977d0bb34d62ea5bcd0b
Summary:
Fixes https://github.com/facebook/flipper/issues/3395
This reverts commit ecd7269848.
Will need to follow up with, ideally, a test case that is similar to my bisect script by checking the number of `_core` artefacts bundled while we figure out the root cause.
Pull Request resolved: https://github.com/facebook/flipper/pull/3435
Reviewed By: cekkaewnumchai
Differential Revision: D34202506
Pulled By: passy
fbshipit-source-id: 5b81959c0514cfc8f1aad36bf8c76a2204fa5af2
Summary:
Upgraded to the latest Android Studio and this popped up.
Pull Request resolved: https://github.com/facebook/flipper/pull/1936
Test Plan:
Built the sample app.
Repro'd the previous build failure. Weirdly enough, this only occurred on Linux, not on my Mac. Now it's passing.
Reviewed By: mweststrate
Differential Revision: D26483694
Pulled By: passy
fbshipit-source-id: 9c27eb6d28a0f390154899d67469a504d68c2ad4
Summary:
This removes Bintray/JCenter specific code and replaces it with a new plugin recommended by [Chris Banes](https://chris.banes.dev/publishing-to-maven-central/).
Pull Request resolved: https://github.com/facebook/flipper/pull/1914
Test Plan:
Manually uploaded as snapshot and full release, but with this setup still requires all sorts of manual setup, including GPG. Next PR will include automation for this.
CI here should also verify that I didn't split this diff up incorrectly.
Reviewed By: jknoxville
Differential Revision: D26367350
Pulled By: passy
fbshipit-source-id: faa6b488d6c95bc643d2f9328362e29fb4b05ded
Summary:
Playing around with alternative upload options and having
an up-to-date Gradle installation makes that easier.
Pull Request resolved: https://github.com/facebook/flipper/pull/1895
Test Plan: ./gradlew :sample:assembleDebug + CI
Reviewed By: nikoant
Differential Revision: D26275350
Pulled By: passy
fbshipit-source-id: ce5d11c289e6cf52e2d629a4719cc38665adf8e5
Summary:
Android Studio is on 4.0 now, we need the plugin for proper support.
Pull Request resolved: https://github.com/facebook/flipper/pull/1327
Test Plan: Synced and build with it.
Reviewed By: nikoant
Differential Revision: D22356268
Pulled By: passy
fbshipit-source-id: 63c7b727e9a0eaaea7beed1f9819c1e2d15a0ff4
Summary:
Ran this:
```
./gradlew wrapper --gradle-version=5.6.4 --distribution-type=bin
```
I tried to get us to 6.1, but that causes some type errors within
the Android plugin. I hope it's actually there stuff and not ours
so we can upgrade once they've sorted their stuff.
Pull Request resolved: https://github.com/facebook/flipper/pull/749
Test Plan:
./gradlew tasks
./gradlew :sample:installDebug
Reviewed By: jknoxville
Differential Revision: D19428496
Pulled By: passy
fbshipit-source-id: a910f5a269688f7ec5fc020fe1af99a75fc7b574
Summary: One of the last releases before 6.0 with more deprecation warnings.
Reviewed By: jknoxville
Differential Revision: D17259063
fbshipit-source-id: c31e9dc46071deae601489cc51d9af0d569d270d
Summary: Android Studio suggests this in order to continue working properly.
Reviewed By: danielbuechele
Differential Revision: D17160910
fbshipit-source-id: fac638495d6aa194dca54ef72c1c9dca5ad42b73
Summary: There were some leftover Litho references.
Reviewed By: danielbuechele
Differential Revision: D17071513
fbshipit-source-id: feec9a5748c359a830746c2f9944e0256b16bc09
Summary: I hope that this takes care of all the android violations.
Reviewed By: danielbuechele
Differential Revision: D15199150
fbshipit-source-id: 0f5b4edc1bc9d38de0885f88bb2c3e43acfa09cd
Summary:
Just going through some of our third-party deps and making sure that
we're not trailing too far behind.
Pull Request resolved: https://github.com/facebook/flipper/pull/403
Reviewed By: danielbuechele
Differential Revision: D14665266
Pulled By: passy
fbshipit-source-id: 61e730c4d850a1c0a9475de287d9791061e85e4b
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/317
This could save our collective sanity. There's now
built-in support for HTTP retries: 0904f9d136
Reviewed By: jknoxville
Differential Revision: D12906015
fbshipit-source-id: 6030bfb6b914cfda186d92d20f3b15e693b1710c
Summary: This is helpful when uploading snapshots from a devserver.
Reviewed By: priteshrnandgaonkar
Differential Revision: D10008434
fbshipit-source-id: de00acee189e751982f622c0ac317e9c2ea14540
Summary:
This moves the native setup to a separate gradle file and unpacks everything outside the build folder. That way we don't throw everything away on every incremental build.
This is an intermediate step to get to a more declarative setup like Fresco has it and get rid of the individual hacks we have for every download.
Pull Request resolved: https://github.com/facebook/Sonar/pull/154
Reviewed By: jknoxville
Differential Revision: D8833812
Pulled By: passy
fbshipit-source-id: 2424c9d6e22e6092c04af344e06939b4a6aba041
Summary:
This make use of the the setup we have at Litho, which should make
it easier to keep them in sync.
It creates proper source jars, AARs (without bundling in unwanted
transitive deps) and POMs.
Closes https://github.com/facebook/Sonar/pull/104
Reviewed By: priteshrnandgaonkar
Differential Revision: D8638912
Pulled By: passy
fbshipit-source-id: ff4921c0683e9b6f859085b542ceae840a7e8291