title: Gradle Liquibase Integration
body: <p>I am trying to integrate Liquibase in my project using Gradle.
  For that I made below changes to <code>build.gradle</code> but it gives me error as follows:</p>
  
  <p><a href="https://i.stack.imgur.com/vIoH1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vIoH1.png" alt="enter image description here"></a></p>
  
  <p>Below is my build.gradle file:</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
          maven { 
              url "https://plugins.gradle.org/m2/"
          }
      }
      dependencies {
          classpath "org.liquibase:liquibase-gradle-plugin:2.0.1"
      }
  }
  
  allprojects {'
      apply plugin: 'liquibase'
  }
  
  dependencies {
      liquibaseRuntime 'org.liquibase:liquibase-core:3.6.1'
      liquibaseRuntime 'org.liquibase:liquibase-groovy-dsl:2.0.1'
      liquibaseRuntime 'mysql:mysql-connector-java:5.1.34'
    }
  
  liquibase {
      activities {
          doFirst {
              if (!project.hasProperty('runList')) {
                  project.ext.runList = "main,test"
              }
          }
          main {
              defaultsFile "$projectDir/sql-migration/mysql/app_mysql.properties"
              logFile "$projectDir/sql-migration/mysql/logs/liquibase-" + new Date().format("yyyy-MM-dd_HH-mm-ss")+".log"
          }
          test {
              defaultsFile "$projectDir/sql-migration/mysql/app_test_mysql.properties"
              logFile "$projectDir/sql-migration/logs/liquibase-test-" + new Date().format("yyyy-MM-dd_HH-mm-ss")+".log"
          }
      }
      // To execute liquibase on single environment, gradlew app:update -PrunList=test
      runList = project.ext.runList
  }
  </code></pre>
  
  <p>I am not able to get why it is not able to find out 'liquibaseRuntime' repositories.
  Any help in this would be really appreciated.</p>