Skip to content
Sharp

Build Tools · interview question

Why should a team commit the Gradle Wrapper or Maven Wrapper?

Multiple choiceEasychapter-10-curatedpremiumbuild-toolsbuild-lifecycle
Choose one answer
Answer and explanation

Correct answer

C. So local machines and CI use the same build tool version

Why

A committed wrapper keeps the build tool version under source control. That reduces 'works on my machine' problems by making dev laptops and CI invoke the same build tool release.

Test yourself on Build Tools

A free test with instant, explained results. No account needed.

Start free test
All Build Tools questions →