Skip to content
Sharp

Build Tools · interview question

How does Gradle handle transitive dependencies by default?

Multiple choiceMediumchapter-10-curatedpremiumbuild-toolsdependency-management
Choose one answer
Answer and explanation

Correct answer

C. It resolves and includes them automatically

Why

Gradle automatically resolves and includes transitive dependencies by default. This means if a library depends on another library, Gradle downloads and includes these nested dependencies as well.

Test yourself on Build Tools

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

Start free test
All Build Tools questions →