diff --git a/src/main/kotlin/ch/ayedo/jooqmodelator/core/HealthCheck.kt b/src/main/kotlin/ch/ayedo/jooqmodelator/core/HealthCheck.kt index e622c8a..0d45c28 100644 --- a/src/main/kotlin/ch/ayedo/jooqmodelator/core/HealthCheck.kt +++ b/src/main/kotlin/ch/ayedo/jooqmodelator/core/HealthCheck.kt @@ -36,6 +36,7 @@ class FlywayDependentHealthChecker(databaseConfig: DatabaseConfig, healthCheckCo withMaxDuration(maxDurationMs, MILLISECONDS) } + @Suppress("RedundantLambdaArrow") override fun waitForDatabase() { net.jodah.failsafe.Failsafe.with(retryPolicy).run { _ -> diff --git a/src/main/kotlin/ch/ayedo/jooqmodelator/core/Migration.kt b/src/main/kotlin/ch/ayedo/jooqmodelator/core/Migration.kt index bb519df..dd0f1d9 100644 --- a/src/main/kotlin/ch/ayedo/jooqmodelator/core/Migration.kt +++ b/src/main/kotlin/ch/ayedo/jooqmodelator/core/Migration.kt @@ -15,6 +15,7 @@ import org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection import java.io.File import java.nio.file.Path +@Suppress("SpellCheckingInspection") interface Migrator { /* deletes all objects in the database */ diff --git a/src/main/kotlin/ch/ayedo/jooqmodelator/core/Modelator.kt b/src/main/kotlin/ch/ayedo/jooqmodelator/core/Modelator.kt index ffcaef6..bf99902 100644 --- a/src/main/kotlin/ch/ayedo/jooqmodelator/core/Modelator.kt +++ b/src/main/kotlin/ch/ayedo/jooqmodelator/core/Modelator.kt @@ -5,6 +5,7 @@ import ch.ayedo.jooqmodelator.core.configuration.DatabaseConfig import com.spotify.docker.client.DefaultDockerClient import org.slf4j.LoggerFactory +@Suppress("SpellCheckingInspection") class Modelator(configuration: Configuration) { private val log = LoggerFactory.getLogger(Modelator::class.java) diff --git a/src/main/kotlin/ch/ayedo/jooqmodelator/core/configuration/Configuration.kt b/src/main/kotlin/ch/ayedo/jooqmodelator/core/configuration/Configuration.kt index 2eecad3..eba249a 100644 --- a/src/main/kotlin/ch/ayedo/jooqmodelator/core/configuration/Configuration.kt +++ b/src/main/kotlin/ch/ayedo/jooqmodelator/core/configuration/Configuration.kt @@ -17,6 +17,7 @@ enum class MigrationEngine { LIQUIBASE } +@Suppress("SpellCheckingInspection") data class DockerConfig(val tag: String, val labelKey: String = "ch.ayedo.jooqmodelator", val env: List, diff --git a/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorExtension.kt b/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorExtension.kt index c4bb1d1..1e01053 100644 --- a/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorExtension.kt +++ b/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorExtension.kt @@ -1,6 +1,7 @@ package ch.ayedo.jooqmodelator.gradle +@Suppress("SpellCheckingInspection") open class JooqModelatorExtension { var jooqVersion: String? = null diff --git a/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorPlugin.kt b/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorPlugin.kt index 19de69c..c4af0a2 100644 --- a/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorPlugin.kt +++ b/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorPlugin.kt @@ -5,7 +5,7 @@ import org.gradle.api.Project import org.gradle.api.artifacts.Configuration import java.nio.file.Paths - +@Suppress("SpellCheckingInspection") open class JooqModelatorPlugin : Plugin { override fun apply(project: Project) { diff --git a/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorTask.kt b/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorTask.kt index 571cd84..663edd4 100644 --- a/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorTask.kt +++ b/src/main/kotlin/ch/ayedo/jooqmodelator/gradle/JooqModelatorTask.kt @@ -18,6 +18,7 @@ import java.net.URLClassLoader import java.nio.file.Path +@Suppress("SpellCheckingInspection") open class JooqModelatorTask : DefaultTask() { @InputFile