Could not resolve all dependencies for configuration ':profile'. Type 'gradle dependencies' for more information.
This is due to mismatching profiles in grails (web,web-plugin etc.). By default, it is specified in application.yml
when we create grails 3 application. However, when we change from application.yml
file to application.groovy
, it would have been missed.
Just add this to application.groovy
,
grails{
profile = 'web-plugin'
codegen{