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
the new config name
the new project dependency
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
the new config name
the new dependency
if true, the dependency is wrapped in testFixtures(...)
, like api(testFixtures("com.example:foo:1:))