diff --git a/mobile/android/android-components/build.gradle b/mobile/android/android-components/build.gradle index fba27b9714614..9bdf0931d36c5 100644 --- a/mobile/android/android-components/build.gradle +++ b/mobile/android/android-components/build.gradle @@ -63,6 +63,11 @@ subprojects { kotlinOptions.allWarningsAsErrors = true } + // Prevent some dependencies from being used in AC. + project.configurations.all { + exclude group: 'io.mockk', module: 'mockk' + } + project.configurations.configureEach { // Dependencies can't depend on a different major version of Glean than A-C itself. resolutionStrategy.eachDependency { details ->