Skip to content

Commit d284d72

Browse files
committed
Add a version badge
1 parent 78bd9c7 commit d284d72

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ This plugin uses [protofetch](https://github.com/coralogix/protofetch) to downlo
66

77
In `project/plugins.sbt`:
88
```scala
9-
addSbtPlugin("com.coralogix" % "sbt-protofetch" % "0.1.0")
9+
addSbtPlugin("com.coralogix" % "sbt-protofetch" % "<version>")
1010
```
1111

12+
The latest version is [![Maven Central](https://maven-badges.sml.io/sonatype-central/com.coralogix/sbt-protofetch_2.12_1.0/badge.svg?subject=sbt-protofetch)](https://maven-badges.sml.io/sonatype-central/com.coralogix/sbt-protofetch_2.12_1.0/).
13+
1214
In `build.sbt`:
1315
```scala
1416
lazy val root = (project in file("."))
@@ -19,7 +21,7 @@ lazy val root = (project in file("."))
1921

2022
With the plugin enabled, you can use the `protofetchFetch` task
2123
to fetch protobuf definitions defined in the `protofetch.toml` descriptor,
22-
and the `protofetchOutputDirectory` to find out the location of the downloaded `.proto` files.
24+
and the `protofetchOutputDirectory` to find out the location of the downloaded `.proto` files.
2325

2426
In practice, you most likely want these protobuf definitions to be used
2527
by the rest of the build process. For `sbt-protoc` the configuration snippet
@@ -102,4 +104,4 @@ This gives you full control over dependencies and other aspects of code generati
102104
Note that this snippet is a drop-in replacement of what `sbt-protodep` does.
103105
You don't necessarily need to have a dedicated `grpcDeps` sbt project,
104106
these settings can as well be applied to some already existing project.
105-
Also, you may not need all `libraryDependencies` that `sbt-protodep` used to add.
107+
Also, you may not need all `libraryDependencies` that `sbt-protodep` used to add.

0 commit comments

Comments
 (0)