Hey all, I just tried creating a Grails 6.2 Rest A...
# questions
a
Hey all, I just tried creating a Grails 6.2 Rest API with the Database Migration Plugin but all of the configured tasks seem to error with a requirement on the grails shell like so:
Copy code
my-api:test: Could not find org.grails:grails-shell:.
Required by:
    project : > org.grails.plugins:database-migration:4.2.1
I configured the migration plugin with 4.2.1 using the following:
Copy code
implementation("org.grails.plugins:database-migration:4.2.1") {
        exclude module: 'spring-boot-cli'
    }
And then I also saw earlier about removing the grails shell from the runtime classpath which I did like so:
Copy code
configurations {
    developmentOnly
    runtimeClasspath {
        exclude group: 'org.grails', module: 'grails-shell'
    }
}
Do I need to not use 6.2 and instead use latest 6.1?
m
Version 5 of the
grails-database-migration
plugin will work with Grails 6.2. It has not been released yet. In the mean-time you could add
org.grails:grails-shell:6.1.2
to your project dependencies to make it work.
a
Ok, thanks! That is what I was figuring after I saw your PR to remove the shell dependencies on the 5.x branch of the plugin.