Pascal Hartig
4e0bbb62fe
Upgrade gradle plugin ( #4751 )
...
Summary:
[android] Upgrade gradle project
Makes us compatible with Android Studio Flamingo and unlocks upgrades to Kotlin
(which we need to be in sync with fbsource).
Pull Request resolved: https://github.com/facebook/flipper/pull/4751
Test Plan:
- ./gradlew :android:assembleDebug
- Android Studio Sync
- CI
---
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/flipper/pull/4751 ).
* https://github.com/facebook/flipper/issues/4759
* https://github.com/facebook/flipper/issues/4758
* https://github.com/facebook/flipper/issues/4757
* https://github.com/facebook/flipper/issues/4756
* https://github.com/facebook/flipper/issues/4755
* https://github.com/facebook/flipper/issues/4754
* https://github.com/facebook/flipper/issues/4753
* https://github.com/facebook/flipper/issues/4752
* __->__ https://github.com/facebook/flipper/issues/4751
Reviewed By: aigoncharov
Differential Revision: D46068236
Pulled By: passy
fbshipit-source-id: 707422134b49c0d940b663f6f40937fe6561a038
2023-05-23 08:48:24 -07:00
Pascal Hartig
cd3cd44e98
Remove deprecated kotlin plugin ( #4749 )
...
Summary:
[android] Remove deprecated kotlin plugin
See https://goo.gle/kotlin-android-extensions-deprecation .
We don't seem to be making use of the extension.
Pull Request resolved: https://github.com/facebook/flipper/pull/4749
Test Plan:
```
./gradlew :android:assembleDebug
```
CI
Task: T153938450
Reviewed By: antonk52
Differential Revision: D46066063
Pulled By: passy
fbshipit-source-id: 1ae58535ca408bf29c97d5a945013f968f5b47a2
2023-05-22 04:34:22 -07:00
Lorenzo Blasa
76d6350662
Set jvm flags and kotlin dependencies ( #4177 )
...
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4177
^
In an attempt to fix Github actions, may or may not work.
Reviewed By: aigoncharov
Differential Revision: D40074397
fbshipit-source-id: e88039c56876ca21657db4a6d872c46294a4f8c3
2022-10-05 04:30:17 -07:00
Harold Martin
cdb72db5a9
Fix LeakCanary plugin UI, Upgrade LC dependency and make it compile only ( #3367 )
...
Summary:
**Currently, the Leak Canary plugins is broken, see this screenshot (unable to expand):**
<img width="1359" alt="Screen Shot 2022-01-29 at 2 06 33 PM" src="https://user-images.githubusercontent.com/745166/151679662-9d8e8eb6-c19c-4008-9821-1c2c1af92351.png ">
**This fix repairs and improves the UI:**
<img width="1350" alt="Screen Shot 2022-01-29 at 2 06 03 PM" src="https://user-images.githubusercontent.com/745166/151679677-7965604c-dd04-4ee5-bc8e-d53a82da1bd7.png ">
## Changelog
- Fixes UI to enable showing leak trace
- Upgrades LackCanary dependency from 2.6 to 2.8.1
- Makes Kotlin and LC `compileOnly` dependencies in order to prevent conflict for the users
- Updates documentation
Pull Request resolved: https://github.com/facebook/flipper/pull/3367
Test Plan:
See demo at https://github.com/hbmartin/leakcanary/tree/flipper-demo/leakcanary-android-sample
**Static Docs Preview: flipper**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D33915179/V3/flipper/ )|
|**Modified Pages**|
Reviewed By: passy
Differential Revision: D33915179
Pulled By: cekkaewnumchai
fbshipit-source-id: 9698dba23ab475c8cd84e4c222dfc41712b05a1e
2022-02-03 01:37:28 -08:00
Andres Suarez
79023ee190
Update copyright headers from Facebook to Meta
...
Reviewed By: bhamodi
Differential Revision: D33331422
fbshipit-source-id: 016e8dcc0c0c7f1fc353a348b54fda0d5e2ddc01
2021-12-27 14:31:45 -08:00
Pascal Hartig
6279cc68b1
Upgrade to Gradle 7 ( #2279 )
...
Summary:
Depends on https://github.com/facebook/flipper/issues/2277 . Fixes https://github.com/facebook/flipper/issues/2221 .
The maven plugin is no longer exposed and implied by https://developer.android.com/studio/build/maven-publish-plugin .
Pull Request resolved: https://github.com/facebook/flipper/pull/2279
Test Plan: ./gradlew uploadArchives -PdryRun=true
Reviewed By: priteshrnandgaonkar
Differential Revision: D28473692
Pulled By: passy
fbshipit-source-id: 3d95122fecebfeac8bfa5173c5c633eee3f13311
2021-05-17 07:29:49 -07:00
Harold Martin
4d8be35d1a
Add plugin for LeakCanary 2 ( #1959 )
...
Summary:
Add plugin for LeakCanary 2 as requested various times: https://github.com/facebook/flipper/issues/1379 https://github.com/facebook/flipper/issues/832 https://github.com/square/leakcanary/issues/1777
## Changelog
* Adds a leakcanary2 plugin for Android
* Adds support for leakcanary2 to existing desktop plugin
Pull Request resolved: https://github.com/facebook/flipper/pull/1959
Test Plan:
* Docs updated to show new implementation
* Should old leakcanary plugin in sample be replaced?
Reviewed By: mweststrate
Differential Revision: D26691637
Pulled By: passy
fbshipit-source-id: 5e236fa6cc124f0720a6b21b5ee7c117ccf96fbf
2021-03-01 09:11:37 -08:00