Fix notice generation to use configured notice file
@@ -257,7 +257,7 @@ public class PluginBuildPlugin extends BuildPlugin {
include(licenseFile.name)
}
}
- File noticeFile = project.pluginProperties.extension.licenseFile
+ File noticeFile = project.pluginProperties.extension.noticeFile
if (noticeFile != null) {
NoticeTask generateNotice = project.tasks.create('generateNotice', NoticeTask.class)
generateNotice.dependencies(project)
