Index
All Classes and Interfaces|All Packages
A
- apply(Project) - Method in class io.github.m_segreti.BunPlugin
-
Applies the plugin to a Gradle
Project. - args(String...) - Method in class io.github.m_segreti.BunTask
-
Adds one or more command-line arguments to be passed to Bun.
B
- BunExtension - Class in io.github.m_segreti
-
Gradle extension used to configure the Bun runtime for a project.
- BunExtension(ObjectFactory) - Constructor for class io.github.m_segreti.BunExtension
-
Constructs the Bun extension.
- BunHelpers - Class in io.github.m_segreti
-
Utility helpers used by the Bun Gradle plugin for downloading, verifying, extracting, and locating the Bun runtime.
- BunPlugin - Class in io.github.m_segreti
-
Gradle plugin that downloads and runs the Bun runtime in a local project.
- BunPlugin() - Constructor for class io.github.m_segreti.BunPlugin
- BunSetupTask - Class in io.github.m_segreti
-
Gradle task responsible for downloading and verifying the Bun runtime into a project-local directory.
- BunSetupTask() - Constructor for class io.github.m_segreti.BunSetupTask
- BunSystem - Enum Class in io.github.m_segreti
-
Enumeration of supported Bun platform/system combinations.
- BunTask - Class in io.github.m_segreti
-
Gradle
Exectask specialized for invoking the Bun executable. - BunTask() - Constructor for class io.github.m_segreti.BunTask
- bunZipUrl(String, BunSystem) - Static method in class io.github.m_segreti.BunHelpers
-
Builds the GitHub download URI for the Bun release zip for the given version and system.
C
- Configuration - Search tag in class io.github.m_segreti.BunPlugin
- Section
D
- DARWIN_AARCH64 - Enum constant in enum class io.github.m_segreti.BunSystem
-
macOS (Darwin) ARM64 / Apple Silicon build.
- DARWIN_X64 - Enum constant in enum class io.github.m_segreti.BunSystem
-
macOS (Darwin) x64 / Intel build.
- detect() - Static method in enum class io.github.m_segreti.BunSystem
-
Detects the current operating system and CPU architecture and selects the most appropriate
BunSystem. - downloadUrlTo(URL, File, boolean) - Static method in class io.github.m_segreti.BunHelpers
-
Downloads the content at
urland writes it todestination.
E
- exec() - Method in class io.github.m_segreti.BunTask
-
Executes the Bun command.
- exeName() - Method in enum class io.github.m_segreti.BunSystem
-
Returns the expected name of the Bun executable for this system.
F
- fetchExpectedSha256(String, String) - Static method in class io.github.m_segreti.BunHelpers
-
Fetches the expected SHA-256 for a given Bun asset zip from the release metadata page.
- findBunExecutable(File, String) - Static method in class io.github.m_segreti.BunHelpers
-
Recursively searches for a Bun executable file under the provided root directory.
G
- getBunExecutable() - Method in class io.github.m_segreti.BunTask
-
Returns the Bun executable for this task.
- getBunRootDir() - Method in class io.github.m_segreti.BunSetupTask
-
Root directory where Bun installations are stored.
- getDisableSslVerification() - Method in class io.github.m_segreti.BunExtension
-
Whether to disable SSL certificate verification during downloads.
- getDisableSslVerification() - Method in class io.github.m_segreti.BunSetupTask
-
Whether to disable SSL certificate verification during downloads.
- getSystem() - Method in class io.github.m_segreti.BunExtension
-
The system/platform variant of Bun to install.
- getSystem() - Method in class io.github.m_segreti.BunSetupTask
-
The system/platform variant of Bun to install.
- getVersion() - Method in class io.github.m_segreti.BunExtension
-
The Bun version to install.
- getVersion() - Method in class io.github.m_segreti.BunSetupTask
-
The Bun version to install.
I
- Inputs - Search tag in class io.github.m_segreti.BunSetupTask
- Section
- io.github.m_segreti - package io.github.m_segreti
L
- LINUX_AARCH64 - Enum constant in enum class io.github.m_segreti.BunSystem
-
Linux ARM64 build targeting glibc.
- LINUX_AARCH64_MUSL - Enum constant in enum class io.github.m_segreti.BunSystem
-
Linux ARM64 build targeting musl.
- LINUX_X64 - Enum constant in enum class io.github.m_segreti.BunSystem
-
Linux x64 build targeting glibc.
- LINUX_X64_BASELINE - Enum constant in enum class io.github.m_segreti.BunSystem
-
Linux x64 baseline build targeting glibc.
- LINUX_X64_MUSL - Enum constant in enum class io.github.m_segreti.BunSystem
-
Linux x64 build targeting musl (e.g.
- LINUX_X64_MUSL_BASELINE - Enum constant in enum class io.github.m_segreti.BunSystem
-
Linux x64 baseline build targeting musl.
N
- normalizeVersion(String) - Static method in class io.github.m_segreti.BunHelpers
-
Normalizes a Bun version string.
- Notes - Search tag in class io.github.m_segreti.BunPlugin
- Section
O
- Outputs - Search tag in class io.github.m_segreti.BunSetupTask
- Section
P
- Platform Variants - Search tag in enum class io.github.m_segreti.BunSystem
- Section
R
- run() - Method in class io.github.m_segreti.BunSetupTask
-
Executes the Bun setup process.
S
- setArgs(List<String>) - Method in class io.github.m_segreti.BunTask
-
Sets the command-line arguments to be passed to Bun.
- setBunExecutable(File) - Method in class io.github.m_segreti.BunTask
-
Sets the Bun executable to be used when this task executes.
- sha256(File) - Static method in class io.github.m_segreti.BunHelpers
-
Computes the SHA-256 hash of a file and returns it as a lowercase hexadecimal string.
- stripZip(String) - Static method in class io.github.m_segreti.BunHelpers
-
Removes a trailing
".zip"suffix from a zip file name, if present.
T
- Tasks - Search tag in class io.github.m_segreti.BunPlugin
- Section
U
- unzip(File, File) - Static method in class io.github.m_segreti.BunHelpers
-
Extracts a zip file into the given destination directory.
- Usage - Search tag in class io.github.m_segreti.BunExtension
- Section
V
- valueOf(String) - Static method in enum class io.github.m_segreti.BunSystem
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.m_segreti.BunSystem
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WINDOWS_X64 - Enum constant in enum class io.github.m_segreti.BunSystem
-
Windows x64 build using the standard runtime.
- WINDOWS_X64_BASELINE - Enum constant in enum class io.github.m_segreti.BunSystem
-
Windows x64 baseline build (more compatible, potentially slower).
Z
- zipName() - Method in enum class io.github.m_segreti.BunSystem
-
Returns the name of the Bun zip asset associated with this system.
All Classes and Interfaces|All Packages