Skip to content

Commit

Permalink
Change organization to com.github.izhangzhihao
Browse files Browse the repository at this point in the history
  • Loading branch information
izhangzhihao committed Apr 4, 2018
1 parent eebe150 commit 7e26f8a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ use cases. Please see [below](#define-custom-sparksubmit-task) for more details
For sbt 0.13.6+ add sbt-spark-submit to your `project/plugins.sbt` or `~/.sbt/0.13/plugins/plugins.sbt` file:

```scala
addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % "0.0.4")
addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % "0.0.4")
```

Naturally you will need to have spark dependency in your project itself such as:
Expand Down
6 changes: 2 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
lazy val commonSettings = Seq(
organization in ThisBuild := "com.github.saurfang",
organization in ThisBuild := "com.github.izhangzhihao",
scalaVersion := "2.10.7",
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"),
scalacOptions ++= Seq("-deprecation", "-feature"),
Expand All @@ -16,9 +16,7 @@ lazy val root = (project in file(".")).
name := "sbt-spark-submit",
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html")),
publishMavenStyle := false,
bintrayRepository := {
if(isSnapshot.value) "sbt-plugin-snapshots" else "sbt-plugin-releases"
},
bintrayRepository := "sbt-plugin-releases",
bintrayOrganization := None
).
settings(scriptedSettings: _*).
Expand Down
2 changes: 0 additions & 2 deletions examples/sbt-assembly-on-yarn/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ lazy val root = Project("plugins", file(".")).dependsOn(plugin)

lazy val plugin = file("../../").getCanonicalFile.toURI

//addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % "0.0.1")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.13.0")
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
libraryDependencies += "org.scala-sbt" % "scripted-plugin" % sbtVersion.value

addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.6")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.8")

addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.4")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
if(pluginVersion == null)
throw new RuntimeException("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
else addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % pluginVersion)
else addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % pluginVersion)
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
if(pluginVersion == null)
throw new RuntimeException("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
else addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % pluginVersion)
else addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % pluginVersion)
}
2 changes: 1 addition & 1 deletion src/sbt-test/sbt-spark-submit/sparkpi/project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
if(pluginVersion == null)
throw new RuntimeException("""|The system property 'plugin.version' is not defined.
|Specify this property using the scriptedLaunchOpts -D.""".stripMargin)
else addSbtPlugin("com.github.saurfang" % "sbt-spark-submit" % pluginVersion)
else addSbtPlugin("com.github.izhangzhihao" % "sbt-spark-submit" % pluginVersion)
}

0 comments on commit 7e26f8a

Please sign in to comment.