Search Gradle plugins

org.liquibase.gradle

Owner: Steven C. Saliman

A Gradle plugin for running the Liquibase database upgrade tool.

https://github.com/liquibase/liquibase-gradle-plugin

Sources: https://github.com/liquibase/liquibase-gradle-plugin.git

Version 3.0.1 (latest)

Created 14 September 2024.

A Gradle plugin for running the Liquibase database upgrade tool.

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.liquibase.gradle") version "3.0.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("org.liquibase.gradle:org.liquibase.gradle.gradle.plugin:3.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.liquibase.gradle")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.liquibase.gradle:org.liquibase.gradle.gradle.plugin:3.0.1")
      }
    }
    
    apply(plugin = "org.liquibase.gradle")
  • Applying plugins to all subprojects .