cashapp / licensee

Gradle plugin which validates the licenses of your dependency graph match what you expect
https://cashapp.github.io/licensee/docs/1.x/
Apache License 2.0
637 stars 30 forks source link

Add project name to CompatiblePlugin error #34

Closed takahirom closed 3 years ago

takahirom commented 3 years ago

Thank you for the awesome plugin!

When I apply plugins like this.

allprojects {
    apply plugin: 'app.cash.licensee'

But, I saw app.cash.licensee' requires compatible language/platform plugin to be applied. So I would like to know the project name for excluding the plugin apply.

takahirom commented 3 years ago

@JakeWharton I tried to fix the test (these tests are amazing), but in the case of the root project, I thought that the following message would be difficult to understand, so I tried to specify the project path.

(project: :) -> (project path: :)

JakeWharton commented 3 years ago

I have changed it to report either "root project" or "project :some:thing" which is hopefully clear enough to differentiate.