an sbt plugin for groovy
Add plugin to project/plugins.sbt:
resolvers += "Sonatype Repository" at "https://oss.sonatype.org/content/groups/public"
addSbtPlugin("org.softnetwork.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 ++ org.softnetwork.sbt.plugins.GroovyPlugin.groovy.settings ++ org.softnetwork.sbt.plugins.GroovyPlugin.testGroovy.settings)
Plugin keys are located in org.softnetwork.sbt.plugins.Keys
groovySource in Compile := (sourceDirectory in Compile).value / "groovy"
groovySource in Test := (sourceDirectory in Test).value / "groovy"