@@ -27,7 +27,7 @@ Next, add the sbt plugin to your build in `project/plugins.sbt`.
27
27
28
28
``` diff
29
29
// project/plugins.sbt
30
- + addSbtPlugin("com.sourcegraph" % "sbt-sourcegraph" % "0.2.1 ")
30
+ + addSbtPlugin("com.sourcegraph" % "sbt-sourcegraph" % "0.4.0 ")
31
31
```
32
32
33
33
Next, enable SemanticDB in ` build.sbt ` and use the latest version of SemanticDB.
@@ -83,10 +83,7 @@ If you don't want to enable SemanticDB in `build.sbt`, you can do it a single
83
83
sbt session inside the upload CI job.
84
84
85
85
``` sh
86
- $ sbt \
87
- ' set every semanticdbEnabled := true' \
88
- ' set every semanticdbVersion := "LATEST_VERSION"' \
89
- sourcegraphUpload
86
+ $ sbt sourcegraphEnable sourcegraphUpload
90
87
```
91
88
92
89
If you have projects that don't work with SemanticDB, you can optionally enable
@@ -151,15 +148,10 @@ sbt sourcegraphUpload
151
148
[ ` src ` ] ( https://github.com/sourcegraph/src-cli ) binary. The ` src ` binary needs
152
149
to be installed separately.
153
150
- ` sourcegraphExtraUploadArguments: List[String] ` : additional arguments to use
154
- for the ` src lsif upload ` command. Run ` src lsif upload --help ` for example
151
+ for the ` src code-intel upload ` command. Run ` src code-intel upload --help ` for example
155
152
flags you may want to configure.
156
153
- ` sourcegraphRoot: String ` : root directory of this sbt build.
157
154
158
- ** Removed settings** :
159
-
160
- - (no longer used) ` sourcegraphLsifSemanticdbBinary: String ` : path to the
161
- [ ` lsif-semanticdb ` ] ( https://github.com/sourcegraph/lsif-semanticdb/ ) binary.
162
-
163
155
## Disable plugin for specific project
164
156
165
157
Use ` .disablePlugins(SourcegraphPlugin)) ` to disable this plugin for a specific
0 commit comments