Class GithubPackagesRepositoryDsl.GithubPackagesRepositorySpec
java.lang.Object
io.github.duckasteroid.gradle.githubpackages.GithubPackagesRepositoryDsl.GithubPackagesRepositorySpec
- Enclosing class:
- GithubPackagesRepositoryDsl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOwner()GitHub organisation or user that owns the package repository.getRepo()Name of the GitHub repository that hosts the packages.getToken()GitHub token used for authentication.GitHub username used for authentication.voidvoidvoidvoidsetUsername(String username)
-
Constructor Details
-
GithubPackagesRepositorySpec
public GithubPackagesRepositorySpec()
-
-
Method Details
-
getOwner
GitHub organisation or user that owns the package repository. Required. -
setOwner
-
getRepo
Name of the GitHub repository that hosts the packages. Required. -
setRepo
-
getUsername
GitHub username used for authentication. Defaults to gpr.user / GITHUB_ACTOR / GH_PACKAGES_READ_USER via credential resolution chain. -
setUsername
-
getToken
GitHub token used for authentication. Defaults to gpr.key / GITHUB_TOKEN / GH_PACKAGES_READ_TOKEN via credential resolution chain. -
setToken
-