BuildConstraintParenthesis

A simple parenthesis around a build constraint, which can be used to logically group expressions.

Constructors

Link copied to clipboard
constructor(expr: BuildConstraintExpression)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun evaluate(tags: Set<String>): Boolean

Evaluates whether the current expression satisfies the set of tags. Tags can be for example the target operating system (e.g., linux), the target architecture (e.g. arm64), the Go version (e.g. go1.20) or other custom tags supplied to the build process.