- add(String, File) - Method in class io.github.intisy.gradle.github.plugin.AddedJars
-
- AddedJars - Class in io.github.intisy.gradle.github.plugin
-
Remembers which resolved jars have already been added to which native Gradle configuration, so a
jar reachable through several coordinates, branches or sources { } entries is added to any
one configuration exactly once.
- AddedJars() - Constructor for class io.github.intisy.gradle.github.plugin.AddedJars
-
- 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, Logger) - Static method in class io.github.intisy.gradle.github.plugin.DependencyMetadata
-
- apply(Project, Logger, GithubExtension, Releases) - Static method in class io.github.intisy.gradle.github.plugin.DependencyResolution
-
- apply(Project, Logger, GithubExtension, Releases, AddedJars) - Static method in class io.github.intisy.gradle.github.plugin.DependencyResolution
-
Resolves every githubImplementation/githubApi/etc.
- apply(Project, Logger, GithubExtension, Releases) - Static method in class io.github.intisy.gradle.github.plugin.DependencyTasks
-
Registers printGithubDependencies on every project, and updateGithubDependencies
on the root project only (it rewrites every subproject's build file in one pass).
- apply(Project) - Static method in class io.github.intisy.gradle.github.plugin.GithubConfigurations
-
- apply(Project, Logger, PublishExtension, Repositories, Publishing) - Static method in class io.github.intisy.gradle.github.plugin.PublishTasks
-
Registers the publishGithub task, which creates (or reuses) a GitHub release for the
project's version and uploads its configured jar(s) to it.
- apply(Project, Logger, ResourceSettings, Repositories) - Static method in class io.github.intisy.gradle.github.plugin.ResourceSync
-
Registers the processGitHubResources task and wires it ahead of
processResources, so the configured repository is cloned/pulled and copied into
src/main/resources before Gradle bundles resources into the jar.
- apply(Project, Logger, SourcesExtension, SourceBuilds, Downloads, AddedJars) - Static method in class io.github.intisy.gradle.github.plugin.SourcesResolution
-
- 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.
- artifact(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Adds a single artifact entry, configured by the given Groovy closure.
- 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(Action<? super PublishExtension>) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
- artifacts(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Opens a Groovy-DSL configuration block for multiple artifact entries.
- auth(Action<? super AuthSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested auth extension using a Gradle action.
- auth(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested auth extension using a Groovy closure.
- 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
-
- cli(Action<? super CliSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested CLI extension using a Gradle action.
- cli(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested CLI extension using a Groovy closure.
- 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/repo into target if no checkout exists there yet, otherwise
pulls the latest changes for branch (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 cloneUrl into target, 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
-
- 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.
- 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) - 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.
- cloneRepository(File, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones a GitHub repository to the specified path.
- cloneRepository(File) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Clones the configured resource 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
GitHubLogger for use outside a Gradle build, writing every level to
System.err
so
System.out stays 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(GitHubConfig, ResourceSettings, GitHubLogger) - Static method in class io.github.intisy.gradle.github.api.GitHubApi
-
- create(GitHubConfig, ResourceSettings) - Static method in class io.github.intisy.gradle.github.api.GitHubApi
-
- create() - 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 - Interface in io.github.intisy.gradle.github.api.capability
-
The authentication material resolved for GitHub API and git-transport access.
- credentials() - Method in class io.github.intisy.gradle.github.api.GitHubApi
-
- 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.json from 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 printGithubDependencies and updateGithubDependencies tasks.
- 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 :all classifier, 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
-
- 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 .jar asset in that order.
- downloadJar(String, String, String, String) - Method in interface io.github.intisy.gradle.github.api.capability.Releases
-
Downloads a specific classifier asset, matching repo-classifier.jar exactly.
- downloadJar(String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
- downloadJar(String, String, String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
- 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.
- downloads() - Method in class io.github.intisy.gradle.github.api.GitHubApi
-
- getAccessToken() - Method in interface io.github.intisy.gradle.github.api.config.GitHubConfig
-
- getAccessToken() - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
- 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
auth extension (or the deprecated accessToken fallback).
- getArtifacts() - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Returns the list of explicit artifacts to upload.
- 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.
- 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.
- 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.
- getDir() - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
-
- 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(String, String) - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Fetches the latest release from a GitHub repository.
- getLatestRelease() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Fetches the latest release 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.
- getLatestVersion() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-
Gets the latest version tag from the configured resource repository.
- getModules() - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
-
- 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 deprecated accessToken fallback 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(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(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.SourcesExtension
-
Declares a git repository dependency, configured by the given Groovy closure.
- 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 gh CLI (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 GitHub needs, without requiring a Gradle build script.
- GitHubConfig.Builder - Class in io.github.intisy.gradle.github.api.config
-
- 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 GitHub without requiring a Gradle Project.
- GitHubSourceBuilds - Class in io.github.intisy.gradle.github.impl.github
-
Adapts the host-agnostic
SourceBuilder to the GitHub-specific
SourceBuilds
capability by resolving
owner/
repo to a github.com clone URL before
delegating, so the source-build strategy behaves exactly as it did before
SourceBuilder took 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
-
- 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 followRedirects cannot 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
-
- 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 - Interface in io.github.intisy.gradle.github.api.capability
-
Resolves and downloads GitHub release artifacts.
- releases() - Method in class io.github.intisy.gradle.github.api.GitHubApi
-
- 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 origin remote resolves to.
- RemoteRepo(String, String) - Constructor for class io.github.intisy.gradle.github.api.model.RemoteRepo
-
- Repositories - Interface in io.github.intisy.gradle.github.api.capability
-
Clones, updates and inspects a local checkout of a GitHub repository.
- repositories() - Method in class io.github.intisy.gradle.github.api.GitHubApi
-
- RepositoriesImpl - Class in io.github.intisy.gradle.github.impl
-
Repositories that builds a fresh, per-call
GitHub scoped to the exact owner and
repo an operation names, instead of reusing the single
GitHub GitHubApi.create
was 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 api and adapts the result into an OkHttp Response.
- resilience(Action<? super ResilienceSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resilience extension using a Gradle action.
- resilience(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resilience extension using a Groovy closure.
- 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 in io.github.intisy.gradle.github.api.model
-
- 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:version and its full transitive closure of GitHub-hosted
dependencies declared via each jar's embedded META-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(Action<? super ResourceSettings>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resources extension using a Gradle action.
- resources(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested resources extension using a Groovy closure.
- 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
-
- 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 .jar not ending in
-sources.jar or -javadoc.jar.
- setAccessToken(Path) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
- setAccessToken(File) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
- setAccessToken(String) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
- 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
-
- setDir(String) - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
-
- setEnabled(boolean) - Method in class io.github.intisy.gradle.github.api.config.CliSettings
-
Controls whether GitHub REST calls are routed through the local gh CLI 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 gh CLI 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
uploading
ArtifactEntry.getJar(); the
jar and
classifier fields are then ignored.
- setModules(String) - Method in class io.github.intisy.gradle.github.plugin.extension.GitSourceEntry
-
- 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
-
- 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
-
- 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
-
- setVersion(String) - Method in class io.github.intisy.gradle.github.plugin.extension.PublishExtension
-
Override the release version tag.
- sha256Hex(String) - Static method in class io.github.intisy.gradle.github.utils.UrlDigest
-
- sha256Hex(File) - 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
-
- 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 - Interface in io.github.intisy.gradle.github.api.capability
-
Builds a git repository from source and caches the resulting jar by resolved commit.
- sourceBuilds() - Method in class io.github.intisy.gradle.github.api.GitHubApi
-
- sources(Action<? super SourcesExtension>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested sources extension using a Gradle action.
- sources(Closure<?>) - Method in class io.github.intisy.gradle.github.plugin.extension.GithubExtension
-
Configures the nested sources extension using a Groovy closure.
- 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(File) - Method in class io.github.intisy.gradle.github.api.config.GitHubConfig.Builder
-
- sshKey() - Method in class io.github.intisy.gradle.github.impl.github.GitHub
-