an sbt plugin for groovy
Add plugin to project/plugins.sbt:
resolvers += "Sonatype Repository" at "https://oss.sonatype.org/content/groups/public"
addSbtPlugin("com.ebiznext.sbt.plugins" % "sbt-groovy" % "0.1.3")
For .sbt build definitions, inject the plugin settings in build.sbt:
seq(groovy.settings :_*)
seq(testGroovy.settings :_*)
For .scala build definitions, inject the plugin settings in Build.scala:
Project(..., settings = Project.defaultSettings ++ com.ebiznext.sbt.plugins.GroovyPlugin.groovy.settings ++ com.ebiznext.sbt.plugins.GroovyPlugin.testGroovy.settings)
Plugin keys are located in com.ebiznext.sbt.plugins.Keys
groovySource in Compile := (sourceDirectory in Compile).value / "groovy"
groovySource in Test := (sourceDirectory in Test).value / "groovy"