allow

abstract fun allow(spdxId: String)

Allow artifacts with a license that matches a SPDX identifier.

licensee {
allow("Apache-2.0")
}

A full list of supported identifiers is available at https://spdx.org/licenses/.


abstract fun allow(spdxId: SpdxId)

Allow artifacts with a license that matches a SPDX identifier.

licensee {
allow(SpdxId.Apache_20)
}

A full list of supported identifiers is available at https://spdx.org/licenses/.