dependency configuration

The name in front of a Gradle dependency, such as testImplementation, that says where and when that dependency is used.

In more detail

implementation dependencies are used to compile and run the main code; testImplementation ones only for tests; testRuntimeOnly ones are present only while tests run. They play the role Maven scopes play.

Examples

testImplementation("org.assertj:assertj-core:3.27.7")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")

Related terms

Taught in

References