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
This commit is contained in:
Harold Martin
2021-03-01 09:10:05 -08:00
committed by Facebook GitHub Bot
parent 61eabf372a
commit 4d8be35d1a
10 changed files with 416 additions and 27 deletions

View File

@@ -41,3 +41,6 @@ project(':litho-plugin').projectDir = file('android/plugins/litho')
include ':leakcanary-plugin'
project(':leakcanary-plugin').projectDir = file('android/plugins/leakcanary')
include ':leakcanary2-plugin'
project(':leakcanary2-plugin').projectDir = file('android/plugins/leakcanary2')