public class ModPublisherGradleExtension.GithubConfig
extends java.lang.Object
| Constructor and Description |
|---|
GithubConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
createRelease(boolean createRelease)
Kotlin Compatibility setter
Should the GitHub release be created if it doesn't exist
|
void |
createTag(boolean createTag)
Kotlin Compatibility setter
Should the GitHub tag be created if it doesn't exist
|
void |
displayName(java.lang.String name)
Override the display name for GitHub
|
void |
draft(boolean isDraft)
Kotlin Compatibility setter
Should the release be marked as a draft
|
void |
repo(java.lang.String repo)
Kotlin Compatibility setter
Override the Repo URL used for publishing
|
void |
setAsLatest(boolean setAsLatest)
Kotlin Compatibility setter
Allow toggling if the upload should be marked as the latest release
|
void |
tag(java.lang.String tag)
Kotlin Compatibility setter
Set GitHub Release tag.
|
void |
target(java.lang.String target)
Kotlin Compatibility setter
Define the branch to target when creating tags and releases
|
void |
updateRelease(boolean updateRelease)
Kotlin Compatibility setter
Should the release be updated, if it already exists on the repo
|
public void tag(java.lang.String tag)
tag - The tag to targetpublic void draft(boolean isDraft)
isDraft - Is this a draft releasepublic void createTag(boolean createTag)
createTag - Create the tagpublic void createRelease(boolean createRelease)
createRelease - Create the releasepublic void updateRelease(boolean updateRelease)
updateRelease - Update the releasepublic void target(java.lang.String target)
target - The name of the branch to targetpublic void repo(java.lang.String repo)
repo - The repo to publish to gitHubRepopublic void displayName(java.lang.String name)
name - The new display name to usepublic void setAsLatest(boolean setAsLatest)
setAsLatest - True if it should be the latest release