cashapp/licensee
### [`v1.7.0`](https://togithub.com/cashapp/licensee/blob/HEAD/CHANGELOG.md#170---2023-05-05)
[Compare Source](https://togithub.com/cashapp/licensee/compare/1.6.0...1.7.0)
**Added**
- When allowing a URL, a reason can now be provided using the `because` method.
```kotlin
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.
```groovy
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`.
```kotlin
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.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.6.0
->1.7.0
Release Notes
cashapp/licensee
### [`v1.7.0`](https://togithub.com/cashapp/licensee/blob/HEAD/CHANGELOG.md#170---2023-05-05) [Compare Source](https://togithub.com/cashapp/licensee/compare/1.6.0...1.7.0) **Added** - When allowing a URL, a reason can now be provided using the `because` method. ```kotlin 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. ```groovy 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`. ```kotlin 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.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.