public final class PackagesResolution
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(org.gradle.api.Project project,
Logger logger,
PackagesExtension packagesExtension,
Credentials credentials)
Turns every
github { packages { from "owner/repo" } } entry into an ordinary Maven
repository, so the dependencies resolved through it are ordinary Gradle dependencies. |
public static void apply(org.gradle.api.Project project,
Logger logger,
PackagesExtension packagesExtension,
Credentials credentials)
github { packages { from "owner/repo" } } entry into an ordinary Maven
repository, so the dependencies resolved through it are ordinary Gradle dependencies.project - the project the repositories are registered on.logger - receives diagnostic output.packagesExtension - the extension supplying the declared entries.credentials - supplies the token the repositories authenticate with.