Package org.gradle.vcs
Interface VcsMappings
In settings.gradle:
vcsMappings {
withModule("group:name") {
from vcs(GitVcs) {
url = "..."
}
}
addRule("rule for group") { details ->
if (details.requested.group == "group") {
from vcs(GitVcs) {
url = "..."
}
}
}
}
- Since:
- 4.4
-
Method Summary
Modifier and TypeMethodDescriptionaddRule(String message, Action<VcsMapping> rule) <T extends VersionControlSpec>
TwithModule(String groupName, Action<VcsMapping> rule)
-
Method Details
-
addRule
-
withModule
-
vcs
-