license-gradle-plugin icon indicating copy to clipboard operation
license-gradle-plugin copied to clipboard

Failing build if a particular license is used by a dependency

Open whgibbo opened this issue 10 years ago • 4 comments
trafficstars

Is this possible?

whgibbo avatar Mar 12 '15 11:03 whgibbo

Not yet, it is something that would be useful.

2015-03-12 4:31 GMT-07:00 whgibbo [email protected]:

Is this possible?

— Reply to this email directly or view it on GitHub https://github.com/hierynomus/license-gradle-plugin/issues/63.

hierynomus avatar Mar 12 '15 14:03 hierynomus

https://github.com/pivotal/LicenseFinder uses this plugin to manage license approvals and can fail a build if a dependency has a license not in a whitelist / in a blacklist. Gradle is marked as "experimental" (I think it's mostly used for ruby/python/js), but I've used it successfully on previous projects.

MarkyMarkMcDonald avatar Jul 08 '15 03:07 MarkyMarkMcDonald

https://github.com/openzipkin/zipkin/pull/852 may be a starting point or a quick work-around until this can properly be implemented.

abesto avatar Nov 16 '15 17:11 abesto

Nice, definitely a nice starting point.

2015-11-16 18:45 GMT+01:00 Zoltán Nagy [email protected]:

openzipkin/zipkin#852 https://github.com/openzipkin/zipkin/pull/852 may be a starting point or a quick work-around until this can properly be implemented.

— Reply to this email directly or view it on GitHub https://github.com/hierynomus/license-gradle-plugin/issues/63#issuecomment-157115910 .

hierynomus avatar Nov 17 '15 10:11 hierynomus