api / org.gradle.vcs / VcsMappings / withModule

withModule

abstract fun withModule(module: String, rule: Action<in VcsMapping>): VcsMappings

Adds a mapping rule that may define VCS information for the given module. The supplied action is executed when the given module is required.

Parameters

module - The module to apply the rule to, in the form "group:module".