hierynomus/license-gradle-plugin

Multi-project Builds

rpmoore opened this issue · 5 comments

Could you please add some examples of configuring the plugin for a multiproject build. I've been playing around with it and I've not been able to successfully configure the source sets so that my subproject source files are recognized by the plugin.

Thanks!

+1

I have a multiproject build and I would like a single license report cuvering all submodules. There is no one "root" module which depends on all others which I can use in this place.

Could be as simple as:

allprojects {
  apply plugin: "license"
}

If you just want to apply the plugin to each project.

I can confirm that using allprojects works, so I guess this can be closed. However, this will lead to individual reports per project, not a single report, but that's a different issue.

I agree that allprojects{} works, this issue can be closed, and that #40 is my requirement.

#40 is fixed by @jonathannaguin. Closing this one now