public final class PublishTarget
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static RemoteRepo |
resolve(org.gradle.api.Project project,
PublishExtension publishExtension,
Repositories repositories)
Resolves the owner and repository a publish targets: whatever the extension states, with the
git remote filling in what it does not.
|
public static RemoteRepo resolve(org.gradle.api.Project project, PublishExtension publishExtension, Repositories repositories)
project - the project whose directory the git remote is read from.publishExtension - the extension supplying explicit overrides.repositories - the client used to read the git remote..git directory and a build that states both needs no answer
from git at all.