createDependencyDeclaration

Creates a new ModuleDependencyDeclaration from the void, without copying the style of any other dependency declarations.

This does not automatically write the dependency to the build file or add it to any collections.

Receiver

the project receiving this new dependency

Return

a new declaration model

Parameters

configurationName

the new config name

projectPath

the new project dependency

isTestFixtures

if true, the dependency is wrapped in testFixtures(...), like api(testFixtures(project(":lib1")))


Creates a new ExternalDependencyDeclaration from the void, without copying the style of any other dependency declarations.

This does not automatically write the dependency to the build file or add it to any collections.

Receiver

the project receiving this new dependency

Return

a new declaration model

Parameters

configurationName

the new config name

mavenCoordinates

the new dependency

isTestFixtures

if true, the dependency is wrapped in testFixtures(...), like api(testFixtures("com.example:foo:1:))