Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can Gradle Plugin support custom license matchers/families and approved licenses? #16

Closed
madrob opened this issue Jan 8, 2020 · 3 comments
Assignees

Comments

@madrob
Copy link

madrob commented Jan 8, 2020

Hi, for Apache Lucene we are currently using the Ant RAT tasks and have a lot of customizations around it, but are looking at moving to Gradle and would like to use this plugin in that case.

We have a bunch of custom definitions for license matchers and feed them into a list of approved licenses using the expansions found here - https://creadur.apache.org/rat/apache-rat-tasks/types.html

The example code that we'd be migrating from can be found at https://github.com/apache/lucene-solr/blob/master/lucene/common-build.xml#L1886-L1950

I don't see a way to enable the lists of pattern matchers for approved licenses using this plugin - is this possible currently? Or if not, is it possible to add?

Thanks!

@eskatos eskatos self-assigned this Jan 11, 2020
@eskatos
Copy link
Owner

eskatos commented Jan 11, 2020

Hi @madrob,
This is currently not possible but I had a look and it's quite simple to add.
Just opened #17 that should address your use case.
I'll publish a new release of the plugin soon.

@eskatos
Copy link
Owner

eskatos commented Jan 11, 2020

@madrob version 0.6.0 of the plugin is now available. See https://github.com/eskatos/creadur-rat-gradle#usage for how to use the new options.

@eskatos eskatos closed this as completed Jan 11, 2020
@madrob
Copy link
Author

madrob commented Jan 19, 2020

Awesome, thanks! I'll take a look and come back with any questions should they arise!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants