Skip to content

Commit

Permalink
Start fork
Browse files Browse the repository at this point in the history
  • Loading branch information
esamson committed Dec 13, 2017
1 parent bc302c7 commit 78bf312
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 20 deletions.
12 changes: 5 additions & 7 deletions README.md
@@ -1,7 +1,8 @@
sbt-groovy
==========

an sbt plugin for groovy
An sbt plugin for groovy forked from
[fupelaqu/sbt-groovy](https://github.com/fupelaqu/sbt-groovy)

## Requirements

Expand All @@ -13,10 +14,7 @@ an sbt plugin for groovy
Add plugin to *project/plugins.sbt*:

```scala

resolvers += "Sonatype Repository" at "https://oss.sonatype.org/content/groups/public"

addSbtPlugin("org.softnetwork.sbt.plugins" % "sbt-groovy" % "0.1.3")
addSbtPlugin("ph.samson" % "sbt-groovy" % "0.2.0")
```

For *.sbt* build definitions, inject the plugin settings in *build.sbt*:
Expand All @@ -30,12 +28,12 @@ seq(testGroovy.settings :_*)
For *.scala* build definitions, inject the plugin settings in *Build.scala*:

```scala
Project(..., settings = Project.defaultSettings ++ org.softnetwork.sbt.plugins.GroovyPlugin.groovy.settings ++ org.softnetwork.sbt.plugins.GroovyPlugin.testGroovy.settings)
Project(..., settings = Project.defaultSettings ++ ph.samson.sbt.groovy.GroovyPlugin.groovy.settings ++ ph.samson.sbt.groovy.GroovyPlugin.testGroovy.settings)
```

## Configuration

Plugin keys are located in `org.softnetwork.sbt.plugins.Keys`
Plugin keys are located in `ph.samson.sbt.groovy.Keys`

### Groovy sources

Expand Down
15 changes: 10 additions & 5 deletions build.sbt
Expand Up @@ -2,9 +2,9 @@ sbtPlugin := true

name := "sbt-groovy"

organization := "org.softnetwork.sbt.plugins"
organization := "ph.samson"

version := "0.1.3"
version := "0.2.0-SNAPSHOT"

scalaVersion := "2.10.4"

Expand All @@ -23,7 +23,7 @@ publishArtifact in Test := false
pomIncludeRepository := { _ => false }

pomExtra := (
<url>https://github.com/fupelaqu/sbt-groovy</url>
<url>https://github.com/esamson/sbt-groovy</url>
<licenses>
<license>
<name>MIT</name>
Expand All @@ -32,10 +32,15 @@ pomExtra := (
</license>
</licenses>
<scm>
<url>git@github.com:fupelaqu/sbt-groovy.git</url>
<connection>scm:git:git@github.com:fupelaqu/sbt-groovy.git</connection>
<url>git@github.com:esamson/sbt-groovy.git</url>
<connection>scm:git:git@github.com:esamson/sbt-groovy.git</connection>
</scm>
<developers>
<developer>
<id>esamson</id>
<name>Edward Samson</name>
<url>https://edward.samson.ph</url>
</developer>
<developer>
<id>smanciot</id>
<name>Stéphane Manciot</name>
Expand Down
3 changes: 1 addition & 2 deletions project/build.properties
@@ -1,2 +1 @@
sbtVersion=0.13.0

sbt.version=0.13.16
1 change: 0 additions & 1 deletion project/plugins.sbt
@@ -1 +0,0 @@
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.3.0")
4 changes: 2 additions & 2 deletions src/main/scala/GroovyC.scala
@@ -1,4 +1,4 @@
package org.softnetwork.sbt.plugins
package ph.samson.sbt.groovy

import sbt._
import java.io.File
Expand Down Expand Up @@ -53,4 +53,4 @@ class GroovyC(val classpath : Seq[File], val sourceDirectory : File, val stubDir
}
}

}
}
2 changes: 1 addition & 1 deletion src/main/scala/GroovyPlugin.scala
@@ -1,4 +1,4 @@
package org.softnetwork.sbt.plugins
package ph.samson.sbt.groovy

import sbt._
import Keys._
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/Keys.scala
@@ -1,4 +1,4 @@
package org.softnetwork.sbt.plugins
package ph.samson.sbt.groovy

import sbt._
import sbt.Keys._
Expand Down Expand Up @@ -31,4 +31,4 @@ trait TestKeys extends Keys {

trait IntegrationTestKeys extends TestKeys {
override lazy val Config = (config("it-groovy") extend IntegrationTest).hide
}
}

0 comments on commit 78bf312

Please sign in to comment.