From 667db71fb9e3244ebfa9e524c724fb2bc8fb28ac Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 28 Jun 2022 14:27:40 +0200 Subject: [PATCH] Avoid multiple PR from Dependabot when Flipper is upgraded. --- dependencies.gradle | 5 +++++ vector/build.gradle | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/dependencies.gradle b/dependencies.gradle index 297e17be0a..db9278b975 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -21,6 +21,7 @@ def markwon = "4.6.2" def moshi = "1.13.0" def lifecycle = "2.4.1" def flowBinding = "1.2.0" +def flipper = "0.151.1" def epoxy = "4.6.2" def mavericks = "2.7.0" def glide = "4.13.2" @@ -91,6 +92,10 @@ ext.libs = [ 'hiltAndroidTesting' : "com.google.dagger:hilt-android-testing:$dagger", 'hiltCompiler' : "com.google.dagger:hilt-compiler:$dagger" ], + flipper : [ + 'flipper' : "com.facebook.flipper:flipper:$flipper", + 'flipperNetworkPlugin' : "com.facebook.flipper:flipper-network-plugin:$flipper", + ], squareup : [ 'moshi' : "com.squareup.moshi:moshi:$moshi", 'moshiKt' : "com.squareup.moshi:moshi-kotlin:$moshi", diff --git a/vector/build.gradle b/vector/build.gradle index c163bc6f8d..aed8173fef 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -534,10 +534,10 @@ dependencies { } // Flipper, debug builds only - debugImplementation('com.facebook.flipper:flipper:0.151.1') { + debugImplementation(libs.flipper.flipper) { exclude group: 'com.facebook.fbjni', module: 'fbjni' } - debugImplementation('com.facebook.flipper:flipper-network-plugin:0.151.1') { + debugImplementation(libs.flipper.flipperNetworkPlugin) { exclude group: 'com.facebook.fbjni', module: 'fbjni' } debugImplementation 'com.facebook.soloader:soloader:0.10.3'