aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2017-08-26 16:16:42 -0700
committerJakob Odersky <jakob@odersky.com>2017-08-26 16:16:42 -0700
commite841be9396ccb51806a7fe009134d6f04620f65a (patch)
treeedb675e43cd0952073ea9c985772a765b51f95c5 /plugin
parent5487cbf3f78520f9414b60dd019fd4cd8dfa277e (diff)
downloadsbt-jni-e841be9396ccb51806a7fe009134d6f04620f65a.tar.gz
sbt-jni-e841be9396ccb51806a7fe009134d6f04620f65a.tar.bz2
sbt-jni-e841be9396ccb51806a7fe009134d6f04620f65a.zip
Reword deprecation warning
Diffstat (limited to 'plugin')
-rw-r--r--plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/RunDependencyFixPlugin.scala7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/RunDependencyFixPlugin.scala b/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/RunDependencyFixPlugin.scala
index 921caac..3c4f92c 100644
--- a/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/RunDependencyFixPlugin.scala
+++ b/plugin/src/main/scala/ch/jodersky/sbt/jni/plugins/RunDependencyFixPlugin.scala
@@ -4,8 +4,8 @@ import sbt._
import sbt.Keys._
import java.io.File
-/** Adds an extension method `dependsOnRun` to projects, to work around an sbt
- * bug https://github.com/sbt/sbt/issues/3425 */
+/** Adds the extension method `dependsOnRun` to projects, to work around an sbt
+ * bug. */
object RunDependencyFixPlugin extends AutoPlugin {
override def requires = plugins.CorePlugin
@@ -27,7 +27,8 @@ object RunDependencyFixPlugin extends AutoPlugin {
)
implicit class RichProject(project: Project) {
- @deprecated("Temporary fix for https://github.com/sbt/sbt/issues/3425", "1.3.0")
+ @deprecated("Workaround for https://github.com/sbt/sbt/issues/3425. " +
+ "Use `dependsOn(<project> % Runtime)` when fixed.", "1.3.0")
def dependsOnRun(other: Project) = {
project.settings(dependsOnRunSettings(other): _*)
}