@@ -27,7 +27,7 @@ Next, add the sbt plugin to your build in `project/plugins.sbt`.
2727
2828``` diff
2929 // project/plugins.sbt
30- + addSbtPlugin("com.sourcegraph" % "sbt-sourcegraph" % "0.2.1 ")
30+ + addSbtPlugin("com.sourcegraph" % "sbt-sourcegraph" % "0.4.0 ")
3131```
3232
3333Next, 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
8383sbt session inside the upload CI job.
8484
8585``` sh
86- $ sbt \
87- ' set every semanticdbEnabled := true' \
88- ' set every semanticdbVersion := "LATEST_VERSION"' \
89- sourcegraphUpload
86+ $ sbt sourcegraphEnable sourcegraphUpload
9087```
9188
9289If you have projects that don't work with SemanticDB, you can optionally enable
@@ -151,15 +148,10 @@ sbt sourcegraphUpload
151148 [ ` src ` ] ( https://github.com/sourcegraph/src-cli ) binary. The ` src ` binary needs
152149 to be installed separately.
153150- ` 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
155152 flags you may want to configure.
156153- ` sourcegraphRoot: String ` : root directory of this sbt build.
157154
158- ** Removed settings** :
159-
160- - (no longer used) ` sourcegraphLsifSemanticdbBinary: String ` : path to the
161- [ ` lsif-semanticdb ` ] ( https://github.com/sourcegraph/lsif-semanticdb/ ) binary.
162-
163155## Disable plugin for specific project
164156
165157Use ` .disablePlugins(SourcegraphPlugin)) ` to disable this plugin for a specific
0 commit comments