Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
fupelaqu committed Oct 11, 2014
2 parents 75a7704 + 987635b commit c561636
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -17,3 +17,5 @@ project/plugins/project/
.classpath

.project

.idea
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ 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.1")
addSbtPlugin("com.ebiznext.sbt.plugins" % "sbt-groovy" % "0.1.2")
```

For *.sbt* build definitions, inject the plugin settings in *build.sbt*:
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Expand Up @@ -4,7 +4,7 @@ name := "sbt-groovy"

organization := "com.ebiznext.sbt.plugins"

version := "0.1.1"
version := "0.1.2"

scalaVersion := "2.10.2"

Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/GroovyPlugin.scala
Expand Up @@ -28,7 +28,7 @@ object GroovyPlugin extends Plugin {
object groovy extends Keys {
val settings = Seq(ivyConfigurations += Config) ++ GroovyDefaults.settings ++ Seq(
groovySource in Compile := (sourceDirectory in Compile).value / "groovy",
unmanagedResourceDirectories in Compile += {(groovySource in Compile).value},
unmanagedSourceDirectories in Compile += {(groovySource in Compile).value},
generateStubs in Compile := {
val sourceDirectory : File = (groovySource in Compile).value
val nb = (sourceDirectory ** "*.groovy").get.size
Expand Down Expand Up @@ -80,7 +80,7 @@ object GroovyPlugin extends Plugin {
fullClasspath <<= fullClasspath in Test,

groovySource in Test := (sourceDirectory in Test).value / "groovy",
unmanagedResourceDirectories in Test += {(groovySource in Test).value},
unmanagedSourceDirectories in Test += {(groovySource in Test).value},
generateStubs in Test := {
val sourceDirectory : File = (groovySource in Test).value
val nb = (sourceDirectory ** "*.groovy").get.size
Expand Down

0 comments on commit c561636

Please sign in to comment.