dev.monosoul.jooq.codegen.BuiltInJooqCodegenRunner.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jooq-gradle-plugin Show documentation
Show all versions of jooq-gradle-plugin Show documentation
Generates jOOQ classes using dockerized database
package dev.monosoul.jooq.codegen
import org.jooq.codegen.GenerationTool
import org.jooq.meta.jaxb.Configuration
internal class BuiltInJooqCodegenRunner(
private val codegenAwareClassLoader: ClassLoader
) : JooqCodegenRunner {
private val codeGenTool = GenerationTool().apply {
setClassLoader(codegenAwareClassLoader)
}
override fun generateJooqClasses(configuration: Configuration) = codeGenTool.run(configuration)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy