title: Flyway-gradle-plugin not functioning
body: <p>I have been using flyway with maven very successfully (I love it!), but I can not seem to get even the demo working with gradle.</p>
  
  <p>build.gradle</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'org.flywaydb:flyway-gradle-plugin:3.0'
          classpath 'org.mariadb.jdbc:mariadb-java-client:1.1.7'
      }
  }
  apply plugin: 'flyway'
  flyway {
      user = 'root'
      password = 'password'
      url = 'jdbc:mariadb://localhost/test'
  }
  </code></pre>
  
  <p>src/main/resources/db/migration/V1__create_person_table.sql:</p>
  
  <pre><code>create table PERSON (PERSON_ID bigint auto_increment primary key,NAME varchar(100) not null);
  </code></pre>
  
  <p>gradle flywayMigrate -i</p>
  
  <blockquote>
    <p>Execution failed for task ':flywayMigrate'.</p>
    
    <blockquote>
      <p>Error occurred while executing flywayMigrate   Unable to scan for SQL migrations in location: classpath:db/migration   Unable to
      determine URL for classpath location: db/migration (ClassLoader:
      java.net.URLClassLoader@42e85a1)</p>
    </blockquote>
  </blockquote>
  
  <p>Setting flyway.locations explicitly didn't help, and there are no empty directories. Does anyone know what could be wrong?</p>
  
  <p>This is the version info for gradle:</p>
  
  <pre><code>------------------------------------------------------------
  Gradle 2.1
  ------------------------------------------------------------
  
  Build time:   2014-09-08 10:40:39 UTC
  Build number: none
  Revision:     e6cf70745ac11fa943e19294d19a2c527a669a53
  
  Groovy:       2.3.6
  Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
  JVM:          1.7.0_67 (Oracle Corporation 24.65-b04)
  OS:           Linux 3.13.0-24-generic amd64
  </code></pre>