use of org.kie.kogito.codegen.core.utils.GeneratedFileWriter in project kogito-runtimes by kiegroup.
the class AbstractKieMojo method writeGeneratedFile.
protected void writeGeneratedFile(GeneratedFile generatedFile) {
GeneratedFileWriter writer = new GeneratedFileWriter(outputDirectory.toPath(), generatedSources.toPath(), generatedResources.toPath(), getSourcesPath().toPath());
getLog().info("Generating: " + generatedFile.relativePath());
writer.write(generatedFile);
}
Aggregations