Search in sources :

Example 1 with ProcessCodegen

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());
}
Also used : ProcessCodegen(io.automatiko.engine.codegen.process.ProcessCodegen)

Aggregations

ProcessCodegen (io.automatiko.engine.codegen.process.ProcessCodegen)1