github

fun github(githubOrg: String, githubProject: String, addToRelease: Boolean = project.requestPropertyOrNull("publishing.github") == "true")

Adds GitHub as VCS and adds GitHub Packages Maven repository to publishing.

Parameters

githubProject

the GitHub project.

githubOrg

the GitHub user or organization.

addToRelease

publish packages in the release task to the GitHub repository.