Put flywayDb tasks in own gradle file

I know there’s some weirdness with the new plugins {....} block. Its worth trying the older style plugin declaration

Eg:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.boxfuse.client:gradle-plugin-publishing:5.0.7"
  }
}

apply plugin: "org.flywaydb.flyway"