Bug 1918798 - Block MockK from being used in AC projects. r=android-reviewers,petru

Differential Revision: https://phabricator.services.mozilla.com/D223055
This commit is contained in:
Ryan VanderMeulen
2024-10-03 21:52:45 +00:00
parent c069b5ac27
commit 006588bb90

View File

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