What\'s the difference between build
, runtime
, and compile
, in BuildConfig.groovy
(1.3.7)
grails.project.
A couple grails commands help illustrate the difference. Consider grails run-app
and grails compile
. grails compile
is the compile step and will include compile-time dependencies. grails run-app
is the run step and will include runtime dependencies. Build dependencies are anything that you might need to run any of these commands, for example, a custom script that hooks into some build events.
So you would pick the one that best fits when you need to be certain the dependency is included.