If your plugin build breaks when upgrading to 5.6+

I built a custom ingest plugin with the helpful cookiecutter and now want to upgrade it from 5.5.1 to use 5.6.1 but the build failed with:

   > Must specify license and notice file for project :
   > Cannot get property 'projectSubstitutions' on extra properties extension as it does not exist
   > Must specify license and notice file for project :
   > Must specify license and notice file for project :

I see that this is because of this PR, but I'm too much of a Gradle newbie to figure out where I'm supposed to specify noticeFile and licenseFile in my build.gradle file.

If you run into this, too, here are the changes you need to make to get your build working again.

1 Like

Thanks for the write-up, especially since there is very little. I also
encountered the same issue when updating a plugin. Somewhat silly since you
can simply link to an empty file.

From what I understand, this check is executed if you use the esplugin task
inside the gradle build tools. If you do your own assembly, the check does
not occur. I use the build tools, so I have not checked this theory.

Cheers,

Ivan

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.