Plugin

Java DB Migrator

Plugin ID
com.helixframework.java-dbmigrator
Plugin Type
Project

Applies the Helix Java application baseline for database migration services and wires integration tests into Docker Compose.

  • Applies Java App and Test Integration.
  • Applies the Gradle Docker Compose plugin.
  • Sets the application main class to com.helixframework.dbmigrator.DatabaseMigrator.
  • Forces Flyway Core 6.5.7 because later Flyway versions are not supported by the migrator.

Usage

build.gradle

Groovy DSL

plugins {
    id 'com.helixframework.java-dbmigrator'
}

build.gradle.kts

Kotlin DSL

plugins {
    id("com.helixframework.java-dbmigrator")
}

Configuration

No Helix-specific extension is added by this plugin.

Default Behavior

  • No Helix-specific extension is added.
  • The integration task is marked as requiring dockerCompose so integration tests can run against local container dependencies.