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/.