Believe you need to run grails refresh-dependencies
after the plugin is added in BuildConfig.groovy
but before run-app
.
This would help in refreshing the dependencies of the app to those two files which are present in lib
of the plugin.
searchable-0.6.4/lib/compass-2.2.1.jar
.
As those dependencies are not configured in dependency section in the BuildConfig
of the plugin but in lib
, hence refresh-dependencies
command is required.
It works in subsequent attempts because once the app is compiled or run, app becomes cognizant of the transitive dependencies it needs to pull from the plugin.