Skip to content

Commit

Permalink
Bug 1918798 - Block MockK from being used in AC projects. r=android-r…
Browse files Browse the repository at this point in the history
…eviewers,petru

Differential Revision: https://phabricator.services.mozilla.com/D223055
  • Loading branch information
rvandermeulen committed Oct 3, 2024
1 parent 72fbbd1 commit c185123
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mobile/android/android-components/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down

0 comments on commit c185123

Please sign in to comment.