You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version is [](https://maven-badges.sml.io/sonatype-central/com.coralogix/sbt-protofetch_2.12_1.0/).
13
+
12
14
In `build.sbt`:
13
15
```scala
14
16
lazyvalroot= (project in file("."))
15
17
.enablePlugins(ProtofetchPlugin)
16
18
```
17
19
20
+
21
+
18
22
## Usage
19
23
20
24
With the plugin enabled, you can use the `protofetchFetch` task
21
25
to fetch protobuf definitions defined in the `protofetch.toml` descriptor,
22
-
and the `protofetchOutputDirectory` to find out the location of the downloaded `.proto` files.
26
+
and the `protofetchOutputDirectory` to find out the location of the downloaded `.proto` files.
23
27
24
28
In practice, you most likely want these protobuf definitions to be used
25
29
by the rest of the build process. For `sbt-protoc` the configuration snippet
@@ -102,4 +106,4 @@ This gives you full control over dependencies and other aspects of code generati
102
106
Note that this snippet is a drop-in replacement of what `sbt-protodep` does.
103
107
You don't necessarily need to have a dedicated `grpcDeps` sbt project,
104
108
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.
109
+
Also, you may not need all `libraryDependencies` that `sbt-protodep` used to add.
0 commit comments