Skip to content

Commit

Permalink
Fix maven_install target name in CONTRIBUTING.md (higherkindness#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
jin authored and andyscott committed Apr 26, 2019
1 parent 95007a6 commit 250d883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ rules/scala_proto/workspace.bzl
rules/scalafmt/workspace.bzl
tests/workspace.bzl
```
To reference the dependency, use the `name` attribute of the `maven_install` rule as the package and the versionless dependency as the target. E.g. `@<maven_install_name>//:<versionless_dependency>`.
To reference the dependency, use the `name` attribute of the `maven_install` rule as the repository name and the versionless dependency as the target. E.g. `@<maven_install_name>//:<versionless_dependency>`.

For example, if you'd like to add `org.scala-sbt:compiler-interface:1.2.1` as a dependency, simply add it to the `artifacts` list in `maven_install` with the attribute `name = "annex"`, and then refer to it with `@annex//:org.scala-sbt:compiler-interface`.
For example, if you'd like to add `org.scala-sbt:compiler-interface:1.2.1` as a dependency, simply add it to the `artifacts` list in `maven_install` with the attribute `name = "annex"`, and then refer to it with `@annex//:org_scala_sbt_compiler_interface`.

```
maven_install(
Expand Down

0 comments on commit 250d883

Please sign in to comment.