Merge branch '2.3.x'

Closes gh-22772
This commit is contained in:
Andy Wilkinson 2020-08-06 18:17:36 +01:00
commit 782adc5f5f

View File

@ -177,6 +177,7 @@ public class MavenPluginPlugin implements Plugin<Project> {
pluginDescriptorInputs.from(pomFile, (copy) -> replaceVersionPlaceholder(copy, project));
pluginDescriptorInputs.from(sourceSet.getOutput().getClassesDirs(), (sync) -> sync.into("target/classes"));
pluginDescriptorInputs.from(sourceSet.getAllJava().getSrcDirs(), (sync) -> sync.into("src/main/java"));
pluginDescriptorInputs.getInputs().property("version", project.getVersion());
return pluginDescriptorInputs;
}