Skip to content
Sharp

Testing · interview question

In Gradle, which configuration is used to declare dependencies required only for compiling the main source code?

Multiple choiceMediumchapter-10-curatedpremiumtestingcontroller-testing
Choose one answer
Answer and explanation

Correct answer

A. Implementation

Why

In Gradle, the implementation configuration is used to declare dependencies that are needed to compile the main source code. These dependencies are included in the compile classpath but not exposed to consumers.

Test yourself on Testing

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

Start free test
All Testing questions →