Index
All Classes and Interfaces|All Packages|Serialized Form
A
- apiKey() - Method in interface io.github.intisy.gradle.github.api.capability.Credentials
- apiKey() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- apply(Project) - Static method in class io.github.intisy.gradle.github.plugin.GithubConfigurations
-
Creates each configuration named in
GithubConfigurations.GITHUB_CONFIGSonproject, sogithubImplementation/githubApi/etc. - apply(Project, Logger) - Static method in class io.github.intisy.gradle.github.plugin.DependencyMetadata
-
Registers the
generateGithubDependencyMetadatatask and wires it ahead ofprocessResourcesso every jar built by this project embeds the metadata thatReleases.declaredDependencies(java.io.File)later reads back. - apply(Project, Logger, ResourceSettings, Repositories) - Static method in class io.github.intisy.gradle.github.plugin.ResourceSync
-
Registers the
processGitHubResourcestask and wires it ahead ofprocessResources, so the configured repository is cloned/pulled and copied intosrc/main/resourcesbefore Gradle bundles resources into the jar. - apply(Project, Logger, GithubExtension, Releases) - Static method in class io.github.intisy.gradle.github.plugin.DependencyResolution
-
Same as
DependencyResolution.apply(Project, Logger, GithubExtension, Releases, Set), with a fresh, private dedup set: nothing outside the GitHub branches shares it. - apply(Project, Logger, GithubExtension, Releases) - Static method in class io.github.intisy.gradle.github.plugin.DependencyTasks
-
Registers
printGithubDependencieson every project, andupdateGithubDependencieson the root project only (it rewrites every subproject's build file in one pass). - apply(Project, Logger, GithubExtension, Releases, Set<File>) - Static method in class io.github.intisy.gradle.github.plugin.DependencyResolution
-
Resolves every
githubImplementation/githubApi/etc. - apply(Project, Logger, PublishExtension, Repositories, Publishing) - Static method in class io.github.intisy.gradle.github.plugin.PublishTasks
-
Registers the
publishGithubtask, which creates (or reuses) a GitHub release for the project's version and uploads its configured jar(s) to it. - apply(Project, Logger, SourcesExtension, SourceBuilds, Downloads, Set<File>) - Static method in class io.github.intisy.gradle.github.plugin.SourcesResolution
- artifact(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Adds a single artifact entry, configured by the given Groovy closure.
- artifact(Action<? super ArtifactEntry>) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Adds a single artifact entry, configured by the given Gradle action.
- ArtifactEntry - Class in io.github.intisy.gradle.github.plugin.extension
-
A single JAR artifact to include in a GitHub release.
- ArtifactEntry() - Constructor for class io.github.intisy.gradle.github.plugin.extension.ArtifactEntry
- ArtifactNotFoundException - Exception in io.github.intisy.gradle.github.api
-
Thrown when a requested release, or a release asset, genuinely does not exist: no release matches the requested tag, or a matched release has no jar asset satisfying the request.
- ArtifactNotFoundException(String, String) - Constructor for exception io.github.intisy.gradle.github.api.ArtifactNotFoundException
- artifacts(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Opens a Groovy-DSL configuration block for multiple artifact entries.
- artifacts(Action<? super PublishExtension>) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Opens a configuration block in which multiple
PublishExtension.artifact(org.gradle.api.Action<? super io.github.intisy.gradle.github.plugin.extension.ArtifactEntry>)calls can be made. - auth(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested auth extension using a Groovy closure.
- auth(Action<? super AuthSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested auth extension using a Gradle action.
- AuthSettings - Class in io.github.intisy.gradle.github.api.config
-
Configures GitHub authentication credentials.
- AuthSettings() - Constructor for class io.github.intisy.gradle.github.api.config.AuthSettings
B
- build() - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
- builder() - Static method in interface io.github.intisy.gradle.github.api.config.GitHubConfig
- BuildFileEditor - Class in io.github.intisy.gradle.github.plugin
-
A helper class for editing a project's build file.
- BuildFileEditor() - Constructor for class io.github.intisy.gradle.github.plugin.BuildFileEditor
- buildFromGit(String, String) - Method in interface io.github.intisy.gradle.github.api.capability.SourceBuilds
-
Builds any git repository from source, identified by an explicit clone URL rather than a GitHub owner/repo, so hosts other than github.com are equally supported.
- buildFromGit(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHubSourceBuilds
- buildFromGit(String, String) - Method in class io.github.intisy.gradle.github.impl.source.SourceBuilder
- buildFromSource(String, String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.SourceBuilds
-
Builds a GitHub repository from source, identified by owner and repo.
- buildFromSource(String, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHubSourceBuilds
- buildFromSource(String, String, String, String, String) - Method in class io.github.intisy.gradle.github.impl.source.SourceBuilder
- BuildInvoker - Interface in io.github.intisy.gradle.github.impl.source
-
Runs a build against a checked-out repository.
- BuildInvoker.Gradlew - Class in io.github.intisy.gradle.github.impl.source
-
Shells out to the checkout's own
gradlewwrapper, so the build runs with whatever Gradle version and plugin configuration the checkout itself declares.
C
- cli(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested CLI extension using a Groovy closure.
- cli(Action<? super CliSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested CLI extension using a Gradle action.
- cliEnabled(boolean) - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
- cliFallback(boolean) - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
- CliSettings - Class in io.github.intisy.gradle.github.api.config
-
Configures the local GitHub CLI (
gh) transport. - CliSettings() - Constructor for class io.github.intisy.gradle.github.api.config.CliSettings
- cloneOrPull(File, String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Repositories
-
Clones
owner/repointotargetif no checkout exists there yet, otherwise pulls the latest changes forbranch(or the current branch, if null). - cloneOrPull(File, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- cloneOrPull(File, String, String, String) - Method in class io.github.intisy.gradle.github.impl.RepositoriesImpl
- cloneOrPullFrom(File, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Repositories
-
Clones or pulls
cloneUrlintotarget, using the given URL directly rather than reconstructing one from an owner and repo, so any git host is honoured exactly as configured (github.com, GitHub Enterprise, or any other host). - cloneOrPullFrom(File, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- cloneOrPullFrom(File, String, String) - Method in class io.github.intisy.gradle.github.impl.RepositoriesImpl
- cloneOrPullFromUrl(File, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones or pulls
cloneUrlintotarget, using the given URL directly for a fresh clone instead of deriving one viaGitHub.getRepositoryURL(java.lang.String, java.lang.String), so any git host works. - cloneOrPullRepository(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones the configured resource repository if it doesn't exist, otherwise pulls the latest changes from the current branch.
- cloneOrPullRepository(File, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones the configured resource repository if it doesn't exist, otherwise pulls the latest changes.
- cloneOrPullRepository(File, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones a repository if it doesn't exist, otherwise pulls the latest changes.
- cloneRepository(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones the configured resource repository to the specified path.
- cloneRepository(File, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones a GitHub repository to the specified path.
- CloneUrlIdentity - Class in io.github.intisy.gradle.github.utils
-
Derives an owner/repo-shaped identity from an arbitrary git clone URL, for use as a cache-directory or cached-jar-file naming key only; never used to construct the actual clone URL.
- configuredRepo() - Method in interface io.github.intisy.gradle.github.api.capability.Repositories
-
The owner and repository parsed from the implementation's own configured repository URL.
- configuredRepo() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- configuredRepo() - Method in class io.github.intisy.gradle.github.impl.RepositoriesImpl
- ConsoleGitHubLogger - Class in io.github.intisy.gradle.github.api.log
-
A
GitHubLoggerfor use outside a Gradle build, writing every level toSystem.errsoSystem.outstays clean for consumers that parse it. - ConsoleGitHubLogger(boolean) - Constructor for class io.github.intisy.gradle.github.api.log.ConsoleGitHubLogger
- copyDirectory(Path, Path) - Static method in class io.github.intisy.gradle.github.utils.FileUtils
-
Copies a directory from the source path to the destination path.
- create() - Static method in class io.github.intisy.gradle.github.api.GitHubApi
-
Same as
GitHubApi.create(GitHubConfig, ResourceSettings, GitHubLogger), defaulting to an anonymousGitHubConfig, a defaultResourceSettings, and logging toSystem.errviaConsoleGitHubLogger. - create(GitHubConfig, ResourceSettings) - Static method in class io.github.intisy.gradle.github.api.GitHubApi
-
Same as
GitHubApi.create(GitHubConfig, ResourceSettings, GitHubLogger), logging toSystem.errviaConsoleGitHubLogger. - create(GitHubConfig, ResourceSettings, GitHubLogger) - Static method in class io.github.intisy.gradle.github.api.GitHubApi
- createRelease(String, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Creates a GitHub release for the given tag, reusing the existing release if the tag already exists.
- credentials() - Method in class io.github.intisy.gradle.github.api.GitHubApi
- Credentials - Interface in io.github.intisy.gradle.github.api.capability
-
The authentication material resolved for GitHub API and git-transport access.
D
- debug(String) - Method in class io.github.intisy.gradle.github.api.log.ConsoleGitHubLogger
- debug(String) - Method in interface io.github.intisy.gradle.github.api.log.GitHubLogger
-
Records a verbose diagnostic message intended for troubleshooting, not routine output.
- debug(String) - Method in class io.github.intisy.gradle.github.plugin.Logger
-
Logs a debug message.
- declaredDependencies(File) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
- declaredDependencies(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- DeclaredDependency - Class in io.github.intisy.gradle.github.api.model
-
A GitHub-hosted dependency declared by a jar's embedded
META-INF/github-dependencies.json. - DeclaredDependency(String, String, String) - Constructor for class io.github.intisy.gradle.github.api.model.DeclaredDependency
- deleteDirectory(Path) - Static method in class io.github.intisy.gradle.github.utils.FileUtils
-
Deletes a directory and all its contents.
- DependencyMetadata - Class in io.github.intisy.gradle.github.plugin
-
Generates
META-INF/github-dependencies.jsonfrom the githubImplementation dependencies. - DependencyMetadata() - Constructor for class io.github.intisy.gradle.github.plugin.DependencyMetadata
- DependencyResolution - Class in io.github.intisy.gradle.github.plugin
-
Resolves each GitHub dependency configuration's declared dependencies into local JAR files.
- DependencyResolution() - Constructor for class io.github.intisy.gradle.github.plugin.DependencyResolution
- DependencyTasks - Class in io.github.intisy.gradle.github.plugin
-
Registers the
printGithubDependenciesandupdateGithubDependenciestasks. - DependencyTasks() - Constructor for class io.github.intisy.gradle.github.plugin.DependencyTasks
- derive(String) - Static method in class io.github.intisy.gradle.github.utils.CloneUrlIdentity
- doesRepoExist(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Checks if a Git repository exists at the specified path.
- download(String, Map<String, String>, String) - Method in interface io.github.intisy.gradle.github.api.capability.Downloads
- download(String, Map<String, String>, String) - Method in class io.github.intisy.gradle.github.impl.download.UrlDownloads
- downloadAllModuleJars(String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
-
Downloads every module asset published under the reserved
:allclassifier, so a consumer of a multi-module release can pull every module jar without naming each one. - downloadAllModuleJars(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- downloadAsset(File, Object, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Deprecated.Use downloadAssetFromUrl instead
- downloadJar(String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
-
Downloads the default release jar, matching
repo.jar,repo-version.jar,repo-standalone.jar, or the first plain.jarasset in that order. - downloadJar(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- downloadJar(String, String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
-
Downloads a specific classifier asset, matching
repo-classifier.jarexactly. - downloadJar(String, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- downloads() - Method in class io.github.intisy.gradle.github.api.GitHubApi
- Downloads - Interface in io.github.intisy.gradle.github.api.capability
-
Downloads a jar from an arbitrary HTTP(S) URL, with no repository or git host involved.
E
- ensureRelease(String, String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Publishing
-
Creates a release for
tag, or returns the existing release if one already exists for that tag. - ensureRelease(String, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- equals(Object) - Method in class io.github.intisy.gradle.github.api.model.DeclaredDependency
- equals(Object) - Method in class io.github.intisy.gradle.github.api.model.Release
- equals(Object) - Method in class io.github.intisy.gradle.github.api.model.RemoteRepo
- error(String) - Method in class io.github.intisy.gradle.github.api.log.ConsoleGitHubLogger
- error(String) - Method in interface io.github.intisy.gradle.github.api.log.GitHubLogger
-
Records a failure message with no associated exception.
- error(String) - Method in class io.github.intisy.gradle.github.plugin.Logger
-
Logs an error message.
- error(String, Throwable) - Method in class io.github.intisy.gradle.github.api.log.ConsoleGitHubLogger
- error(String, Throwable) - Method in interface io.github.intisy.gradle.github.api.log.GitHubLogger
-
Records a failure message together with the exception that caused it.
- error(String, Throwable) - Method in class io.github.intisy.gradle.github.plugin.Logger
-
Logs an error message along with an exception's stack trace.
- exists(File) - Method in interface io.github.intisy.gradle.github.api.capability.Repositories
- exists(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- exists(File) - Method in class io.github.intisy.gradle.github.impl.RepositoriesImpl
F
- fetchReleaseByTag(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Attempts to fetch a GitHub release by tag, trying the given tag first and then a "v"-prefixed or "v"-stripped variant as a fallback.
- FileUtils - Class in io.github.intisy.gradle.github.utils
-
Author: Finn Birich
- FileUtils() - Constructor for class io.github.intisy.gradle.github.utils.FileUtils
- fromGit(String, String) - Static method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- fromRelease(String, String, String) - Static method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- fromSource(String, String, String, String) - Static method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- fromUrl(String, Map<String, String>) - Static method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
-
Same as
ResolutionRequest.fromUrl(String, Map, String)with no expected sha256. - fromUrl(String, Map<String, String>, String) - Static method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
G
- getAccessToken() - Method in interface io.github.intisy.gradle.github.api.config.GitHubConfig
- getAccessToken() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Prefer
GithubExtension.getAuth(). Retained so the plugin can honour the legacy field. - getAllModuleAssets(String, String, String, List<File>) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Downloads every module asset from a multi-module release (all assets named
repoName-<classifier>.jar, excluding-sources.jar/-javadoc.jar). - getAllProjectsRecursive(Project) - Static method in class io.github.intisy.gradle.github.plugin.GradleUtils
-
Retrieves all projects recursively, starting from the specified project and including its subprojects, if any.
- getApiKey() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Gets the GitHub token used for REST calls and HTTPS git operations, resolving it from the
authextension (or the deprecatedaccessTokenfallback). - getArtifacts() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Returns the list of explicit artifacts to upload.
- getAsset(String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Downloads and caches a release asset JAR file from the configured resource repository.
- getAsset(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Downloads and caches a release asset JAR file from a GitHub repository.
- getAssetWithClassifier(String, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Downloads and caches a classifier-specific JAR asset from a GitHub release.
- getAssetWithTransitives(String, String, String, Set<String>, List<File>) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Downloads a release asset JAR and recursively resolves its transitive GitHub dependencies.
- getAuth() - Method in interface io.github.intisy.gradle.github.api.config.GitHubConfig
- getAuth() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- getBranch() - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- getBranch() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getClassifier() - Method in class io.github.intisy.gradle.github.plugin.extension.ArtifactEntry
- getCli() - Method in interface io.github.intisy.gradle.github.api.config.GitHubConfig
- getCli() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- getCloneUrl() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getCommitSha() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getCoordinate() - Method in exception io.github.intisy.gradle.github.api.ArtifactNotFoundException
- getCoordinate() - Method in exception io.github.intisy.gradle.github.api.ReleaseNotFoundException
- getCredentialsProvider(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Creates a credentials provider for Git operations, scoped to github.com only.
- getGitSources() - Method in class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
- getGradleHome() - Static method in class io.github.intisy.gradle.github.utils.FileUtils
-
Returns the path to the Gradle caches directory,
~/.gradle/caches. - getHeaders() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getHeaders() - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
- getHtmlUrl() - Method in class io.github.intisy.gradle.github.api.model.Release
- getId() - Method in class io.github.intisy.gradle.github.api.model.Release
- getInto() - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
- getInto() - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
- getJar() - Method in class io.github.intisy.gradle.github.plugin.extension.ArtifactEntry
- getJar() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
- getJarSources() - Method in class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
- getJarUrl() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getLatestRelease() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Fetches the latest release from the configured resource repository.
- getLatestRelease(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Fetches the latest release from a GitHub repository.
- getLatestVersion() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Gets the latest version tag from the configured resource repository.
- getLatestVersion(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Gets the latest version tag from a GitHub repository.
- getName() - Method in class io.github.intisy.gradle.github.api.model.Release
- getOwner() - Method in class io.github.intisy.gradle.github.api.model.DeclaredDependency
- getOwner() - Method in class io.github.intisy.gradle.github.api.model.RemoteRepo
- getOwner() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getOwner() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
- getPath() - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- getPublish() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- getRef() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getRef() - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
- getReleaseName() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
- getRemoteOwnerAndRepo(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Reads the git remote "origin" URL from the project directory and parses it into
[owner, repo]. - getRepo() - Method in class io.github.intisy.gradle.github.api.model.DeclaredDependency
- getRepo() - Method in class io.github.intisy.gradle.github.api.model.RemoteRepo
- getRepo() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getRepo() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
- getRepositoryURL(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Constructs the appropriate github.com Git repository URL based on authentication type.
- getRepoUrl() - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- getResilience() - Method in interface io.github.intisy.gradle.github.api.config.GitHubConfig
- getResilience() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- getResourceRepoName() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Extracts the repository name from the configured repository URL.
- getResourceRepoOwner() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Extracts the repository owner from the configured repository URL.
- getResources() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- getSha256() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getSha256() - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
- getSources() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- getSshKey() - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
- getSshKey() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Gets the SSH private key contents used for git transport, resolving it from
auth.sshKey(or the deprecatedaccessTokenfallback when that holds an SSH key). - getStrategy() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getTag() - Method in class io.github.intisy.gradle.github.api.model.Release
- getTag() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
- getTagsTried() - Method in exception io.github.intisy.gradle.github.api.ReleaseNotFoundException
- getToken() - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
- getTokenFile() - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
- getUploadUrl() - Method in class io.github.intisy.gradle.github.api.model.Release
- getUrl() - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
- getUrl() - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
- getVersion() - Method in class io.github.intisy.gradle.github.api.model.DeclaredDependency
- getVersion() - Method in class io.github.intisy.gradle.github.api.model.ResolutionRequest
- getVersion() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
- git(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
-
Declares a git repository dependency, configured by the given Groovy closure.
- git(Action<? super GitSourceEntry>) - Method in class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
-
Declares a git repository dependency, configured by the given Gradle action.
- GIT - Enum constant in enum class io.github.intisy.gradle.github.api.model.ResolutionRequest.Strategy
-
Satisfied by
SourceBuilds.buildFromGit(String, String). - GitHub - Class in io.github.intisy.gradle.github.impl.github
-
GitHub helper class for managing GitHub repositories, releases, and assets.
- GitHub(GitHubLogger, ResourceSettings, GitHubConfig) - Constructor for class io.github.intisy.gradle.github.impl.github.GitHub
-
Constructs a new GitHub helper instance.
- GitHubApi - Class in io.github.intisy.gradle.github.api
-
The single entry point for consuming the GitHub client outside a Gradle build.
- GitHubCli - Class in io.github.intisy.gradle.github.impl.github
-
Routes GitHub REST calls through the local
ghCLI (gh api ...) instead of direct HTTP. - GitHubCli(GitHubLogger) - Constructor for class io.github.intisy.gradle.github.impl.github.GitHubCli
- GitHubConfig - Interface in io.github.intisy.gradle.github.api.config
-
Supplies the configuration
GitHubneeds, without requiring a Gradle build script. - GitHubConfig.Builder - Class in io.github.intisy.gradle.github.api.config
-
Assembles an immutable
GitHubConfigby composingAuthSettings,CliSettingsandResilienceSettings, the same settings types the Gradle DSL configures. - GithubConfigurations - Class in io.github.intisy.gradle.github.plugin
-
Registers the plugin's GitHub dependency configurations.
- GithubConfigurations() - Constructor for class io.github.intisy.gradle.github.plugin.GithubConfigurations
- GithubExtension - Class in io.github.intisy.gradle.github.plugin.extension
-
Extension for configuring GitHub integration.
- GithubExtension() - Constructor for class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- GitHubLogger - Interface in io.github.intisy.gradle.github.api.log
-
Receives diagnostic output from
GitHubwithout requiring a GradleProject. - GitHubSourceBuilds - Class in io.github.intisy.gradle.github.impl.github
-
Adapts the host-agnostic
SourceBuilderto the GitHub-specificSourceBuildscapability by resolvingowner/repoto a github.com clone URL before delegating, so the source-build strategy behaves exactly as it did beforeSourceBuildertook an explicit clone URL. - GitHubSourceBuilds(GitHub, SourceBuilder) - Constructor for class io.github.intisy.gradle.github.impl.github.GitHubSourceBuilds
- GitSourceEntry - Class in io.github.intisy.gradle.github.plugin.extension
-
A single
sources { git { } }entry: an arbitrary git repository to clone, build, and add to a native Gradle configuration. - GitSourceEntry() - Constructor for class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
- GradleUtils - Class in io.github.intisy.gradle.github.plugin
-
This utility class provides methods for interacting with Gradle.
- GradleUtils() - Constructor for class io.github.intisy.gradle.github.plugin.GradleUtils
- Gradlew(GitHubLogger) - Constructor for class io.github.intisy.gradle.github.impl.source.BuildInvoker.Gradlew
H
- hashCode() - Method in class io.github.intisy.gradle.github.api.model.DeclaredDependency
- hashCode() - Method in class io.github.intisy.gradle.github.api.model.Release
- hashCode() - Method in class io.github.intisy.gradle.github.api.model.RemoteRepo
- header(String, String) - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
-
Adds a single request header (for example, an auth token) to send with the download.
I
- intercept(Interceptor.Chain) - Method in class io.github.intisy.gradle.github.impl.download.RedirectPolicyInterceptor
- invoke(File) - Method in class io.github.intisy.gradle.github.impl.source.BuildInvoker.Gradlew
- invoke(File) - Method in interface io.github.intisy.gradle.github.impl.source.BuildInvoker
-
Runs the build against the given checkout and blocks until it completes.
- io.github.intisy.gradle.github.api - package io.github.intisy.gradle.github.api
- io.github.intisy.gradle.github.api.capability - package io.github.intisy.gradle.github.api.capability
- io.github.intisy.gradle.github.api.config - package io.github.intisy.gradle.github.api.config
- io.github.intisy.gradle.github.api.log - package io.github.intisy.gradle.github.api.log
- io.github.intisy.gradle.github.api.model - package io.github.intisy.gradle.github.api.model
- io.github.intisy.gradle.github.impl - package io.github.intisy.gradle.github.impl
- io.github.intisy.gradle.github.impl.download - package io.github.intisy.gradle.github.impl.download
- io.github.intisy.gradle.github.impl.github - package io.github.intisy.gradle.github.impl.github
- io.github.intisy.gradle.github.impl.source - package io.github.intisy.gradle.github.impl.source
- io.github.intisy.gradle.github.plugin - package io.github.intisy.gradle.github.plugin
- io.github.intisy.gradle.github.plugin.extension - package io.github.intisy.gradle.github.plugin.extension
- io.github.intisy.gradle.github.utils - package io.github.intisy.gradle.github.utils
- isAvailable() - Method in class io.github.intisy.gradle.github.impl.github.GitHubCli
-
Checks whether the
ghCLI is installed and runnable. - isBuildOnly() - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- isCrossHost(HttpUrl, HttpUrl) - Static method in class io.github.intisy.gradle.github.impl.download.RedirectPolicyInterceptor
- isDebug() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- isEnabled() - Method in class io.github.intisy.gradle.github.api.config.CliSettings
- isFallback() - Method in class io.github.intisy.gradle.github.api.config.CliSettings
- isHttpsToHttpDowngrade(HttpUrl, HttpUrl) - Static method in class io.github.intisy.gradle.github.impl.download.RedirectPolicyInterceptor
- isModules() - Method in class io.github.intisy.gradle.github.plugin.extension.ArtifactEntry
- isRedirect(Response) - Static method in class io.github.intisy.gradle.github.impl.download.RedirectPolicyInterceptor
- isRepoUpToDate(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Checks if the local repository is up-to-date with the remote.
- isSkipOnRateLimit() - Method in class io.github.intisy.gradle.github.api.config.ResilienceSettings
- isSkipOnRateLimit() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Replaced by the nested
resilience { skipOnRateLimit = ... }block. This delegates toResilienceSettings.isSkipOnRateLimit()and will be removed in a future release. - isUpToDate(File) - Method in interface io.github.intisy.gradle.github.api.capability.Repositories
- isUpToDate(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- isUpToDate(File) - Method in class io.github.intisy.gradle.github.impl.RepositoriesImpl
- isUseCli() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Replaced by the nested
cli { enabled = ... }block. This delegates toCliSettings.isEnabled()and will be removed in a future release.
J
- jar(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
-
Declares a direct jar URL dependency, configured by the given Groovy closure.
- jar(Action<? super JarSourceEntry>) - Method in class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
-
Declares a direct jar URL dependency, configured by the given Gradle action.
- JarResolver - Interface in io.github.intisy.gradle.github.api.capability
-
Resolves a
ResolutionRequestto a jar, dispatching toReleases,SourceBuilds, or a jar-download capability by the request's own strategy so callers never branch on it themselves. - JarResolverImpl - Class in io.github.intisy.gradle.github.impl
- JarResolverImpl(Releases, SourceBuilds, Downloads) - Constructor for class io.github.intisy.gradle.github.impl.JarResolverImpl
- JarSourceEntry - Class in io.github.intisy.gradle.github.plugin.extension
-
A single
sources { jar { } }entry: a direct jar URL to download and add to a native Gradle configuration, with no repository or git host involved. - JarSourceEntry() - Constructor for class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
L
- latestRelease(String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
- latestRelease(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- latestVersion(String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
- latestVersion(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- log(String) - Method in class io.github.intisy.gradle.github.api.log.ConsoleGitHubLogger
- log(String) - Method in interface io.github.intisy.gradle.github.api.log.GitHubLogger
-
Records a normal, always-visible progress message (e.g.
- log(String) - Method in class io.github.intisy.gradle.github.plugin.Logger
-
Logs a standard lifecycle message, visible in the default Gradle output.
- Logger - Class in io.github.intisy.gradle.github.plugin
-
A logger for the GitHub plugin.
- Logger(GithubExtension) - Constructor for class io.github.intisy.gradle.github.plugin.Logger
-
Creates a new logger.
- Logger(GithubExtension, Project) - Constructor for class io.github.intisy.gradle.github.plugin.Logger
-
Creates a new logger.
- Logger(Project) - Constructor for class io.github.intisy.gradle.github.plugin.Logger
-
Creates a new logger.
M
- modifyBuildFile(Project, String, String) - Static method in class io.github.intisy.gradle.github.plugin.BuildFileEditor
-
Modifies the build file of a project.
P
- publish(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested publish extension using a Groovy closure.
- publish(Action<? super PublishExtension>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested publish extension using a Gradle action.
- PublishExtension - Class in io.github.intisy.gradle.github.plugin.extension
-
Extension for configuring the
publishGithubtask. - PublishExtension() - Constructor for class io.github.intisy.gradle.github.plugin.extension.PublishExtension
- publishing() - Method in class io.github.intisy.gradle.github.api.GitHubApi
- Publishing - Interface in io.github.intisy.gradle.github.api.capability
-
Creates GitHub releases and uploads assets to them.
- PublishTasks - Class in io.github.intisy.gradle.github.plugin
-
Registers the
publishGithubtask. - PublishTasks() - Constructor for class io.github.intisy.gradle.github.plugin.PublishTasks
- pullRepository(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Pulls the latest changes from the current branch of the remote repository.
- pullRepository(File, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Pulls the latest changes from the remote repository.
R
- RateLimitException - Exception in io.github.intisy.gradle.github.api
-
Thrown when a GitHub API request fails because the rate limit has been exceeded (60 requests/hour unauthenticated, 5,000/hour with a token).
- RateLimitException(String) - Constructor for exception io.github.intisy.gradle.github.api.RateLimitException
- readGithubDependencies(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Reads the embedded github-dependencies metadata from a JAR file.
- redact(String) - Static method in class io.github.intisy.gradle.github.utils.UrlRedaction
- RedirectPolicyInterceptor - Class in io.github.intisy.gradle.github.impl.download
-
Follows a redirect with a policy OkHttp's own on/off
followRedirectscannot express: a same-host redirect keeps the caller's headers (same origin, nothing leaks); a cross-host redirect is still followed, but the caller's headers are stripped first, which is exactly what makes a presigned-URL redirect from a private Nexus/Artifactory/S3-backed host work, since the new URL carries its own authorization; an https-to-http redirect is never followed at all, so a header can never be forwarded to the target in cleartext by way of a downgrade. - RedirectPolicyInterceptor() - Constructor for class io.github.intisy.gradle.github.impl.download.RedirectPolicyInterceptor
- Release - Class in io.github.intisy.gradle.github.api.model
-
A GitHub release: its identity (
id,tag,name,htmlUrl) and the URL assets are uploaded to. - Release(String, String, String, String, String) - Constructor for class io.github.intisy.gradle.github.api.model.Release
- RELEASE - Enum constant in enum class io.github.intisy.gradle.github.api.model.ResolutionRequest.Strategy
-
Satisfied by
Releases.downloadJar(String, String, String). - releaseByTag(String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
- releaseByTag(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- ReleaseNotFoundException - Exception in io.github.intisy.gradle.github.api
-
Thrown when no release matches the requested tag at all: a typo'd version, a deleted or renamed tag, or a version that was simply never released.
- ReleaseNotFoundException(String, String, List<String>) - Constructor for exception io.github.intisy.gradle.github.api.ReleaseNotFoundException
- releases() - Method in class io.github.intisy.gradle.github.api.GitHubApi
- Releases - Interface in io.github.intisy.gradle.github.api.capability
-
Resolves and downloads GitHub release artifacts.
- remoteOf(File) - Method in interface io.github.intisy.gradle.github.api.capability.Repositories
- remoteOf(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- remoteOf(File) - Method in class io.github.intisy.gradle.github.impl.RepositoriesImpl
- RemoteRepo - Class in io.github.intisy.gradle.github.api.model
-
The GitHub owner and repository name a local checkout's
originremote resolves to. - RemoteRepo(String, String) - Constructor for class io.github.intisy.gradle.github.api.model.RemoteRepo
- repositories() - Method in class io.github.intisy.gradle.github.api.GitHubApi
- Repositories - Interface in io.github.intisy.gradle.github.api.capability
-
Clones, updates and inspects a local checkout of a GitHub repository.
- RepositoriesImpl - Class in io.github.intisy.gradle.github.impl
-
Repositoriesthat builds a fresh, per-callGitHubscoped to the exact owner and repo an operation names, instead of reusing the singleGitHubGitHubApi.createwas given. - RepositoriesImpl(GitHub, GitHubConfig, GitHubLogger) - Constructor for class io.github.intisy.gradle.github.impl.RepositoriesImpl
- request(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHubCli
-
Performs a GitHub REST request via
gh apiand adapts the result into an OkHttpResponse. - resilience(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resilience extension using a Groovy closure.
- resilience(Action<? super ResilienceSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resilience extension using a Gradle action.
- ResilienceSettings - Class in io.github.intisy.gradle.github.api.config
-
Configures how the plugin behaves when GitHub cannot be reached as expected.
- ResilienceSettings() - Constructor for class io.github.intisy.gradle.github.api.config.ResilienceSettings
- ResolutionRequest - Class in io.github.intisy.gradle.github.api.model
-
A single coordinate to resolve to a jar, naming a release version, a GitHub source branch and commit, an arbitrary git clone URL and ref, or a direct jar URL.
- ResolutionRequest.Strategy - Enum Class in io.github.intisy.gradle.github.api.model
-
Which capability a
ResolutionRequestis satisfied by. - resolve(ResolutionRequest) - Method in interface io.github.intisy.gradle.github.api.capability.JarResolver
- resolve(ResolutionRequest) - Method in class io.github.intisy.gradle.github.impl.JarResolverImpl
- resolver() - Method in class io.github.intisy.gradle.github.api.GitHubApi
- resolveWithDependencies(String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
-
Resolves
owner:repo:versionand its full transitive closure of GitHub-hosted dependencies declared via each jar's embeddedMETA-INF/github-dependencies.json, including the root jar itself. - resolveWithDependencies(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- resources(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resources extension using a Groovy closure.
- resources(Action<? super ResourceSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resources extension using a Gradle action.
- ResourceSettings - Class in io.github.intisy.gradle.github.api.config
-
Configures external resources to be used in the project.
- ResourceSettings() - Constructor for class io.github.intisy.gradle.github.api.config.ResourceSettings
- ResourceSync - Class in io.github.intisy.gradle.github.plugin
-
Syncs the configured GitHub resource repository into the project's resources before they are processed.
- ResourceSync() - Constructor for class io.github.intisy.gradle.github.plugin.ResourceSync
S
- safeSoftRefreshGradle(Project) - Static method in class io.github.intisy.gradle.github.plugin.BuildFileEditor
-
Safely refreshes the Gradle project.
- selectJarAsset(JsonArray, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Selects the best JAR asset from a release using a prioritized matching strategy: (1) exact
repoName.jar, (2)repoName-version.jar, (3)repoName-standalone.jar, (4) first.jarnot ending in-sources.jaror-javadoc.jar. - setAccessToken(File) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Replaced by the nested
auth { }block (tokenFile/sshKey). Still honoured as a fallback and will be removed in a future release. - setAccessToken(String) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Replaced by the nested
auth { token = ... }block. Still honoured as a fallback and will be removed in a future release. - setAccessToken(Path) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Replaced by the nested
auth { }block (tokenFile/sshKey). Still honoured as a fallback and will be removed in a future release. - setBranch(String) - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- setBuildOnly(boolean) - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- setClassifier(String) - Method in class io.github.intisy.gradle.github.plugin.extension.ArtifactEntry
-
Sets the classifier that distinguishes this artifact from others in the same release.
- setDebug(boolean) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
- setEnabled(boolean) - Method in class io.github.intisy.gradle.github.api.config.CliSettings
-
Controls whether GitHub REST calls are routed through the local
ghCLI instead of direct HTTP. - setFallback(boolean) - Method in class io.github.intisy.gradle.github.api.config.CliSettings
-
Controls whether the plugin falls back to direct HTTP when the
ghCLI is enabled but cannot be used (not installed, or a CLI invocation fails). - setInto(String) - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
- setInto(String) - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
- setJar(File) - Method in class io.github.intisy.gradle.github.plugin.extension.ArtifactEntry
-
Sets the JAR file to upload for this artifact.
- setJar(File) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Override the single JAR file to upload.
- setModules(boolean) - Method in class io.github.intisy.gradle.github.plugin.extension.ArtifactEntry
-
When true, this entry expands to one asset per subproject (
<repo>-<module>.jar) instead of uploadingArtifactEntry.getJar(); thejarandclassifierfields are then ignored. - setOwner(String) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Override the GitHub repository owner.
- setPath(String) - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- setRef(String) - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
- setReleaseName(String) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Override the human-readable release title shown on GitHub.
- setRepo(String) - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
-
Deprecated.Use
ResourceSettings.setRepoUrl(String)instead. - setRepo(String) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Override the GitHub repository name.
- setRepoUrl(String) - Method in class io.github.intisy.gradle.github.api.config.ResourceSettings
- setSha256(String) - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
- setSkipOnRateLimit(boolean) - Method in class io.github.intisy.gradle.github.api.config.ResilienceSettings
-
Controls how a GitHub API rate limit is handled.
- setSkipOnRateLimit(boolean) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Replaced by the nested
resilience { skipOnRateLimit = ... }block. This delegates toResilienceSettings.setSkipOnRateLimit(boolean)and will be removed in a future release. - setSshKey(File) - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
-
Sets the SSH private key file used for git clone/pull over SSH.
- setSshKey(Path) - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
-
Sets the path to the SSH private key file used for git clone/pull over SSH.
- setTag(String) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Override the git tag pushed to GitHub for this release.
- setToken(String) - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
-
Sets an explicit GitHub token (Personal Access Token) used for REST calls and HTTPS git operations.
- setTokenFile(File) - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
-
Sets a file whose contents are a GitHub token.
- setTokenFile(Path) - Method in class io.github.intisy.gradle.github.api.config.AuthSettings
-
Sets a path to a file whose contents are a GitHub token.
- setUrl(String) - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
- setUrl(String) - Method in class io.github.intisy.gradle.github.plugin.extension.JarSourceEntry
- setUseCli(boolean) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Deprecated.Replaced by the nested
cli { enabled = ... }block. This delegates toCliSettings.setEnabled(boolean)and will be removed in a future release. - setVersion(String) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Override the release version tag.
- sha256Hex(File) - Static method in class io.github.intisy.gradle.github.utils.UrlDigest
- sha256Hex(String) - Static method in class io.github.intisy.gradle.github.utils.UrlDigest
- skipOnRateLimit(boolean) - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
- SOURCE - Enum constant in enum class io.github.intisy.gradle.github.api.model.ResolutionRequest.Strategy
- SourceBuilder - Class in io.github.intisy.gradle.github.impl.source
-
Clones an arbitrary git URL and builds it, caching the resulting jar by commit, so a repeated request for the same commit never re-runs the build.
- SourceBuilder(GitHubConfig, GitHubLogger, File, BuildInvoker) - Constructor for class io.github.intisy.gradle.github.impl.source.SourceBuilder
- sourceBuilds() - Method in class io.github.intisy.gradle.github.api.GitHubApi
- SourceBuilds - Interface in io.github.intisy.gradle.github.api.capability
-
Builds a git repository from source and caches the resulting jar by resolved commit.
- sources(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested sources extension using a Groovy closure.
- sources(Action<? super SourcesExtension>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested sources extension using a Gradle action.
- SourcesExtension - Class in io.github.intisy.gradle.github.plugin.extension
-
Extension for declaring dependencies resolved from an arbitrary git host or a direct jar URL, as opposed to a GitHub release (see
github { }). - SourcesExtension() - Constructor for class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
- SourcesResolution - Class in io.github.intisy.gradle.github.plugin
-
Resolves every
sources { git { } / jar { } }entry into a local jar and adds it to its configured native Gradle configuration, after the project is evaluated. - SourcesResolution() - Constructor for class io.github.intisy.gradle.github.plugin.SourcesResolution
- sshKey() - Method in interface io.github.intisy.gradle.github.api.capability.Credentials
- sshKey() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- sshKey(File) - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
T
- token(String) - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
- tokenFile(File) - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
- toString() - Method in class io.github.intisy.gradle.github.api.model.DeclaredDependency
- toString() - Method in class io.github.intisy.gradle.github.api.model.Release
- toString() - Method in class io.github.intisy.gradle.github.api.model.RemoteRepo
U
- uploadAsset(Release, File, String) - Method in interface io.github.intisy.gradle.github.api.capability.Publishing
-
Uploads a file as an asset attached to
release. - uploadAsset(Release, File, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
- uploadReleaseAsset(String, File, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Uploads a file as a release asset to GitHub.
- URL - Enum constant in enum class io.github.intisy.gradle.github.api.model.ResolutionRequest.Strategy
-
Satisfied by a
Downloadscapability, givenResolutionRequest.getJarUrl()andResolutionRequest.getHeaders(). - UrlDigest - Class in io.github.intisy.gradle.github.utils
-
SHA-256 hashing shared by every cache that is keyed by a hash of a URL rather than the URL itself, so a credential embedded in the URL never has to be written to a cache path.
- UrlDownloads - Class in io.github.intisy.gradle.github.impl.download
-
Downloads a jar from an arbitrary HTTP(S) URL, caching it under a directory keyed by a hash of
jarUrl, and verifying an optional expected SHA-256 of the downloaded content. - UrlDownloads(OkHttpClient, GitHubLogger, File) - Constructor for class io.github.intisy.gradle.github.impl.download.UrlDownloads
- UrlRedaction - Class in io.github.intisy.gradle.github.utils
-
Strips the parts of a URL that can carry a credential (userinfo, the query string) before it is used in a log line or an exception message.
V
- valueOf(String) - Static method in enum class io.github.intisy.gradle.github.api.model.ResolutionRequest.Strategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.intisy.gradle.github.api.model.ResolutionRequest.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- warn(String) - Method in class io.github.intisy.gradle.github.api.log.ConsoleGitHubLogger
- warn(String) - Method in interface io.github.intisy.gradle.github.api.log.GitHubLogger
-
Records a recoverable-condition message (e.g.
- warn(String) - Method in class io.github.intisy.gradle.github.plugin.Logger
-
Logs a warning message.
All Classes and Interfaces|All Packages|Serialized Form