Architecture

Constants for various processor architectures Gradle runs on.

Since

7.6

Entries

Link copied to clipboard

32-bit complex instruction set computer (CISC) architectures, including "x32", "i386", "x86"..

Link copied to clipboard

64-bit variant of the X86 instruction set, including "x64", "x86_64", "amd64", "ia64".

Link copied to clipboard

64-bit reduced instruction set computer (RISC) ARM architectures, including "aarch64", "arm64".

Link copied to clipboard

64-bit IBM PowerPC (big-endian)

Link copied to clipboard

64-bit IBM PowerPC (little-endian)

Link copied to clipboard

64-bit IBM Z architectures (historically called "s390x" on Linux)

Link copied to clipboard

64-bit Sun/Oracle SPARC V9

Functions

Link copied to clipboard
open fun current(): Architecture
Get the architecture of the current system.
Link copied to clipboard
open fun valueOf(name: String): Architecture

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.