如何将mongodb和/或postgresql扩展插件添加到Grails3.0.0+?

如何将mongodb和/或postgresql扩展插件添加到Grails3.0.0+?,grails,gradle,gorm,grails-3.0,Grails,Gradle,Gorm,Grails 3.0,今天我使用Grails3.0.0.M1,并尝试使用mongodb创建一个小应用程序,但是我无法将其正确添加到build.gradle文件中。正确的语法是什么?我试着摘录: repositories { mavenLocal() maven { url "http://repo.grails.org/grails/core" } } dependencyManagement { imports { mavenBom "org.grails:grails-bom:$

今天我使用Grails3.0.0.M1,并尝试使用mongodb创建一个小应用程序,但是我无法将其正确添加到build.gradle文件中。正确的语法是什么?我试着摘录:

repositories {
  mavenLocal()
  maven { url "http://repo.grails.org/grails/core" }
}

dependencyManagement {
    imports {
        mavenBom "org.grails:grails-bom:$grailsVersion"
    }
    applyMavenExclusions false
}


dependencies {
    //...
    compile ':mongodb:3.0.2'
    //...
}
正如该插件的文档所建议的,但最终没有找到它。我还注意到grailsCentral快捷方式不起作用

然后我尝试添加postgresql扩展,但结果是一样的。语法是否发生了变化,这些插件当时是否不受支持,或者给出了什么


另外,有能力的人可以添加grails-3.0标签吗?

我是postgresql扩展的作者之一。目前该插件与Grails3.0不兼容。我们需要等到Grails团队发布关于如何将插件从2.x迁移到3.0的最新文档后再进行操作。

mongodb使用:

compile 'org.grails.plugins:mongodb:4.0.0.M1'