@Incubating public interface VcsMappings
vcsMappings {
withModule("group:name") {
from vcs(GitVcs) {
url = "..."
}
}
addRule("rule for group") { details ->
if (details.requested.group == "group") {
from vcs(GitVcs) {
url = "..."
}
}
}
}
| Modifier and Type | Method and Description |
|---|---|
VcsMappings |
addRule(String message,
Action<VcsMapping> rule) |
<T extends VersionControlSpec> |
vcs(Class<T> type,
Action<? super T> configuration) |
VcsMappings |
withModule(String groupName,
Action<VcsMapping> rule) |
VcsMappings addRule(String message, Action<VcsMapping> rule)
VcsMappings withModule(String groupName, Action<VcsMapping> rule)
<T extends VersionControlSpec> T vcs(Class<T> type, Action<? super T> configuration)