ai.digital.integration.server.common.domain.Database.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of integration-server-gradle-plugin Show documentation
Show all versions of integration-server-gradle-plugin Show documentation
The easy way to get custom setup for Deploy up and running
package ai.digital.integration.server.common.domain
import org.gradle.api.model.ObjectFactory
import org.gradle.kotlin.dsl.property
@Suppress("UnstableApiUsage")
open class Database(objects: ObjectFactory) {
var databasePort: Int? = null
var driverVersions: Map =
objects.mapProperty(String::class.java, String::class.java).value(
mutableMapOf(
"mssql" to "8.4.1.jre8",
"mysql" to "8.0.22",
"mysql-8" to "8.0.22",
"oracle-19c-se" to "21.1.0.0",
"postgres-10" to "42.2.9",
"postgres-12" to "42.2.23"
)).get()
var logSql: Boolean = objects.property().value(false).get()
}