From 5173b22760873278a003d307bd35afad0e4f8218 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Mon, 7 Jan 2019 03:28:29 -0800 Subject: [PATCH] Mention explicit dependency on soloader (#351) Summary: Fixes #350 Pull Request resolved: https://github.com/facebook/flipper/pull/351 Reviewed By: danielbuechele Differential Revision: D13572357 Pulled By: passy fbshipit-source-id: 52630614d5e1c62b3c2263cc52bedaa4b55a3f41 --- docs/getting-started.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 95ad65d0e..1cc9fd2b0 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -37,7 +37,10 @@ It's recommended that you add the following activity to the manifest too, which android:exported="true"/> ``` -Flipper is distributed via JCenter. Add dependencies to your `build.gradle` file. +Flipper is distributed via JCenter. Add the dependencies to your `build.gradle` file. +You should also explicitly depend on [`soloader`](https://github.com/facebook/soloader) +instead of relying on transitive dependency resolution which is getting deprecated +with Gradle 5. ```groovy repositories { @@ -46,6 +49,7 @@ repositories { dependencies { debugImplementation 'com.facebook.flipper:flipper:0.13.0' + debugImplementation 'com.facebook.flipper:soloader:0.5.1' } ``` @@ -81,7 +85,8 @@ repositories { } dependencies { - debugImplementation 'com.facebook.flipper:flipper:0.13.0' + debugImplementation 'com.facebook.flipper:flipper:0.13.1-SNAPSHOT' + debugImplementation 'com.facebook.flipper:soloader:0.5.1' } ```