hierynomus / license-gradle-plugin

Manage your license(s)
http://www.javadude.nl
Other
406 stars 114 forks source link

Error after upgrading to 0.16.1 #196

Closed strowk closed 3 years ago

strowk commented 3 years ago

We have been using version 0.15.0, specifically command downloadLicenses, but after upgrade to 0.16.1 we get this error during build:

A problem was found with the configuration of task ':server:licenseMain' (type 'LicenseCheck').

  - In plugin 'com.hierynomus.gradle.license.LicenseBasePlugin' type 'com.hierynomus.gradle.license.tasks.LicenseCheck' property 'header' specifies file '/codebuild/output/src285710901/src/server/LICENSE' which doesn't exist.

    Reason: An input file was expected to be present but it doesn't exist.

Was there any requirement added? We do not need this plugin to work in build step, how can we fix it?

strowk commented 3 years ago

Ok, turned out that the problem appears when we use com.github.hierynomus.license instead of separately com.github.hierynomus.license-report and com.github.hierynomus.license-base . No idea why..