如何将Flyway升级到4.0

时间:2016-03-21 04:35:17

标签: gradle gradle-plugin flyway

我将flyway gradle插件的版本从3.2更改为4.0

plugins {
    id "org.flywaydb.flyway" version "4.0"
}

并提出构建错误

Error:(10, 0) Plugin [id: 'org.flywaydb.flyway', version: '4.0'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Gradle Central Plugin Repository (plugin 'org.flywaydb.flyway' has no version '4.0' - see https://plugins.gradle.org/plugin/org.flywaydb.flyway for available versions)

1 个答案:

答案 0 :(得分:2)

flyway的gradle插件尚未针对4.0版发布。有关详细信息,请参阅问题跟踪器中的issue