I'm about to release a little hobby open source project. Since it bundles a bunch of dependencies I have to take care of the various license requirements. Most of the time this means adding some license file to the distribution (at least that is my understanding, but you never know about lawyers).
Is there a Gradle plugin that takes care of that, at least for the common Open Source Licenses?
If there is no Gradle plugin, is there an accepted approach to handle this, like listing all the jars + the license after the own license, or putting a *.license file next to each *.jar file or something?
At deployment time the license info of all dependencies is read - if unapproved or unknown licenses are found an email alert with the information is sent to preconfigured addresses.
Do the Services cost anything? The Gradle Products available on our website are currently provided free of charge.
There is a Gradle License Plugin on Github (I'm the maintainer). Currently the plugin only adds and removes License headers to your source files. There is no support yet for adding the licenses of jar dependencies to a LICENSE file, but that shouldn't be too hard to add, just haven't had the time yet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With