This is a Grails Plugin that enables the use of Scala code in Grails Web projects.
grails-scala-.zip for the plugin source distribution -- this is the recommended version, because the binary version of this plugin doesn't contain required jars
- a Servlet container to run the Web application, as required by the used version of Grails
- Scala (as specified in plugin descriptor) and related dependencies
In BuildConfig.groovy of the webapp, under the plugins section (at the end of the file) add:
grails compile and the plugin should be installed. In case of errors during plugin installation, set log level to 'warn' in BuildConfig.groovy to get more information, and retry. Instead of the compile it's possible even to use runtime, and in that case simply running a Grails console should be enough.
See the Plugin documentation (sources under src/docs/), or the "live" version here: grails-scala docs
Home Page for the project (and sources) on GitHUB: grails-scala
Licensed under the terms of the Apache License, Version 2.0