Skip to content

1.7.0

Compare
Choose a tag to compare
@github-actions github-actions released this 05 May 20:42
· 191 commits to trunk since this release

Added

  • When allowing a URL, a reason can now be provided using the because method.

    allowUrl("https://example.com/license.html") {
      because("is Apache-2.0")
    }
  • Custom tasks can be created to check custom configurations or language plugins which do not have first-party support.

    tasks.register('licenseeFoo', app.cash.licensee.LicenseeTask) {
      configurationToCheck configurations.foo
      outputDir.set(layout.buildDirectory.dir('reports/licenseeFoo'))
    }
  • Version catalog references are now supported by allowDependency.

    allowDependency(libs.exam) {
      because("there are reasons!")
    }

Changed

  • License URLs which map to multiple SPDX identifiers will now match against any of those identifiers.

    For example, if a license URL matches both EXAMPLE and EXAMPLE-with-exemption you can mark either of those
    IDs as allowed and the dependency will be allowed.

Fixed

  • Support reading Maven pom files which use property substitution (${something}) in their XML.
  • Support for Gradle configuration cache.
  • LicenseeTask is now cachable.