aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle13
1 files changed, 10 insertions, 3 deletions
diff --git a/settings.gradle b/settings.gradle
index 78b1a9c..060839b 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -11,9 +11,16 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
- // JitPack is required for spake2-android, pulled in by :adb (libadb-android).
- // Kept at settings level so the :adb module stays untouched upstream.
- maven { url 'https://jitpack.io' }
+ // JitPack is used only for libadb's SPAKE2 pairing bridge. Do not
+ // allow it to shadow artifacts available from the primary repos.
+ exclusiveContent {
+ forRepository {
+ maven { url 'https://jitpack.io' }
+ }
+ filter {
+ includeModule 'com.github.MuntashirAkon.spake2-java', 'spake2-android'
+ }
+ }
}
}