dev.monosoul.jooq.settings.Image.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
The newest version!
package dev.monosoul.jooq.settings
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.Optional
data class Image(
@get:Input var name: String = "postgres:14.4-alpine",
@get:Input var envVars: Map = mapOf(),
@get:Input var testQuery: String = "SELECT 1",
@get:Input @get:Optional var command: String? = null,
) : SettingsElement {
constructor(database: Database.Internal) : this(
envVars =
mapOf(
"POSTGRES_USER" to database.username,
"POSTGRES_PASSWORD" to database.password,
"POSTGRES_DB" to database.name,
),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy