use of io.automatiko.engine.codegen.process.ProcessCodegen in project automatiko-engine by automatiko-io.
the class AutomatikoQuarkusProcessor method addProcessGenerator.
private void addProcessGenerator(AppPaths appPaths, boolean usePersistence, ApplicationGenerator appGen, List<String> dependencies) throws IOException {
ProcessCodegen generator = appPaths.isJar ? ProcessCodegen.ofJar(dependencies, appPaths.getJarPath()) : ProcessCodegen.ofPath(dependencies, appPaths.getProjectPaths());
appGen.withGenerator(generator).withPersistence(usePersistence).withClassLoader(Thread.currentThread().getContextClassLoader());
}
Aggregations