Skip to content

Releases: cashapp/licensee

1.12.0

15 Oct 18:39
Compare
Choose a tag to compare

Changed

  • Update SPDX database to version 3.25 (2024-08-19).
  • Add fallback URL for popular MIT variant.

1.11.0

29 Mar 15:12
Compare
Choose a tag to compare

New

  • LicenseeTask exposes jsonOutput and validationOutput properties which are providers of the generated file that you can use to copy elsewhere or bundle into binaries.

Changed

  • Invalid SPDX identifiers passed to allow will now throw an exception.
  • Update SPDX database to version 3.23 (2024-02-08).

1.10.0

28 Mar 20:02
Compare
Choose a tag to compare

New

  • Gradle platform dependencies (also sometimes called BOMs) are now ignored since they only contribute version constraints and no code.

1.9.1

12 Feb 15:20
Compare
Choose a tag to compare

Fixed

  • Avoid task name showing up in logs when logging is disabled but unused licenses are present.

1.9.0

29 Jan 18:24
Compare
Choose a tag to compare

Added

  • Add configuration option for behavior on unused license. By default we log, but you can now choose to ignore.

    licensee {
      unusedAction(IGNORE)
    }
  • New fallback URL for ISC.

Changed

  • Update SPDX database to version 3.22 (2023-10-05).

1.8.0

26 Sep 20:15
Compare
Choose a tag to compare

Changed

  • Fallback URLs now map to multiple license SPDX IDs where appropriate.
    For example, https://opensource.org/license/gpl-2-0 matches both GPL-2.0 and GPL-2.0-or-later.

  • Remove the use of afterEvalute internally. This causes some task names to slightly change and the output folders
    to slightly change when used with the Android Gradle plugin.

  • Update SPDX database to version 3.21 (2023-06-18).

  • Minimum Gradle version is now 8.0

1.7.0

05 May 20:42
Compare
Choose a tag to compare

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.

1.6.0

26 Oct 14:21
Compare
Choose a tag to compare

Added

  • Support for Android dynamic feature module plugin.
  • New fallback URL for EPL-2.0.

Changed

  • Update SPDX database to version 3.18 (2022-08-12).

1.5.0

12 Jul 15:26
Compare
Choose a tag to compare

Changed

  • Upgrade AGP dependency to 7.2 which requires JDK 11 to run.

Fixed

  • Include Gradle variant attributes when resolving POMs. This should fix issues with Kotlin JS and Kotlin multiplatform artifacts.

1.4.1

03 Jun 12:57
Compare
Choose a tag to compare

Fixed

  • Track SPDX database format change which resulted in JSON license URLs being used instead of HTML license URLs.