public class PublishTasks
extends java.lang.Object
publishGithub task.| Constructor and Description |
|---|
PublishTasks() |
| Modifier and Type | Method and Description |
|---|---|
static void |
apply(org.gradle.api.Project project,
Logger logger,
PublishExtension publishExtension,
Repositories repositories,
Publishing publishing)
Registers the
publishGithub task, which creates (or reuses) a GitHub release for the
project's version and uploads its configured jar(s) to it. |
public static void apply(org.gradle.api.Project project,
Logger logger,
PublishExtension publishExtension,
Repositories repositories,
Publishing publishing)
publishGithub task, which creates (or reuses) a GitHub release for the
project's version and uploads its configured jar(s) to it.project - the project the task is registered on and whose version/jars are published.logger - receives diagnostic output.publishExtension - the extension supplying the release owner/repo/tag/artifacts.repositories - the client used to resolve the owner/repo from the git remote when not configured explicitly.publishing - the client used to create the release and upload assets.