Document no-op package

Summary:
Package is still in the process of getting approved by JCenter
but should get included within the next 24h or so.

Reviewed By: jknoxville

Differential Revision: D15149587

fbshipit-source-id: ab835b1fff23aedbc312b495b79e85e0fffa16ed
This commit is contained in:
Pascal Hartig
2019-05-01 08:32:58 -07:00
committed by Facebook Github Bot
parent 2e65ab7133
commit 00a7cd9f60

View File

@@ -41,6 +41,9 @@ You should also explicitly depend on [`soloader`](https://github.com/facebook/so
instead of relying on transitive dependency resolution which is getting deprecated
with Gradle 5.
We provide a "no-op" implementation of some oft-used Flipper interfaces you can
use to make it easier to strip Flipper from your release builds.
```groovy
repositories {
jcenter()
@@ -49,6 +52,8 @@ repositories {
dependencies {
debugImplementation 'com.facebook.flipper:flipper:0.20.0'
debugImplementation 'com.facebook.soloader:soloader:0.5.1'
releaseImplementation 'com.facebook.flipper:flipper-noop:0.20.0'
}
```
@@ -87,6 +92,8 @@ repositories {
dependencies {
debugImplementation 'com.facebook.flipper:flipper:0.20.1-SNAPSHOT'
debugImplementation 'com.facebook.soloader:soloader:0.5.1'
releaseImplementation 'com.facebook.flipper:flipper-noop:0.20.1-SNAPSHOT'
}
```