You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project made up of many subprojects, and I'd like to apply Licensee to all of them.
At the moment, if I apply Licensee to the root project, I get an error like this:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project '<project name redacted>'.
> 'app.cash.licensee' requires compatible language/platform plugin to be applied (root project)
I expected this to work and automatically apply the plugin to all subprojects.
On a related note, it would be great if Licensee supported configuring allow, allowUrl etc. at the root project level, rather than requiring these to be configured on each subproject. At the moment, I have one central set of allows that I apply to all subprojects. However, this then triggers a bunch of warnings that some of them are unused (not every project has every dependency), so it would be great if applying and configuring Licensee at the root project level then considered the usage of every project and only emitted warnings for allows that aren't used anywhere in any subproject.
The text was updated successfully, but these errors were encountered:
Just a note that the forthcoming project isolation in Gradle will discourage plugins from doing things at the root level like this. It's possible we could be a settings plugin which would allow applying the plugin to every subproject, but I'm really not sure. I believe in general they want people to use convention plugins for cross-cutting plugins and their configuration.
I have a project made up of many subprojects, and I'd like to apply Licensee to all of them.
At the moment, if I apply Licensee to the root project, I get an error like this:
I expected this to work and automatically apply the plugin to all subprojects.
On a related note, it would be great if Licensee supported configuring
allow
,allowUrl
etc. at the root project level, rather than requiring these to be configured on each subproject. At the moment, I have one central set ofallow
s that I apply to all subprojects. However, this then triggers a bunch of warnings that some of them are unused (not every project has every dependency), so it would be great if applying and configuring Licensee at the root project level then considered the usage of every project and only emitted warnings forallow
s that aren't used anywhere in any subproject.The text was updated successfully, but these errors were encountered: